Results 1 to 2 of 2
  1. #1
    bbq
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Posts
    132
    Rep Power
    0

    Default Problem with CSS + JSP

    I'm developing a jsp file with css. It looks good in Firefox but in Internet Explorer doesn't
    This is my html code
    Java Code:
    <html>
      <head>
        <title></title>
        <style type="text/css" title="currentStyle" media="screen">
                @import "/Digital/test.css";
            </style>
      </head>
      <body>
          
    
              <div style="margin-top: 320px">
                  <ul>
                      <li class="first">Home
                          <ul>
                              <li> Products
                                  <ul>
                                      <li> Computers
                                          <ul>
                                              <li> Software</li>
                                      </ul></li>
                              </ul></li>
                      </ul></li>
                  </ul>
              </div>  
          
      </body>
    </html>
    test.css

    Java Code:
    body {
    	padding: 20px 3px 3px 20px;
    	}
    ul {
    	margin-left: 0;
    	padding-left: 0;
    	display: inline;
    	border: none;
    	} 
    ul li {
            font: bold 12pt Verdana;
    	margin-left: 0;
    	padding-left: 2px;
    	border: none;
    	list-style: none;
    	display: inline;
    	}
    ul li a {
            font: bold 12pt Verdana;
            }
    thanks

  2. #2
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    7

    Default

    Did you tried this?
    Java Code:
    <link rel="stylesheet" type="text/css" href="/Digital/test.css" media="screen">

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •