Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This CSS code will not work locally 1

Status
Not open for further replies.

Dweezel

Technical User
Feb 12, 2004
428
GB
The following link is to a page from a css tutorial on communitymx.com. The css flyout menu works fine for me on all browsers when viewed online. When I save the code locally however, the flyouts work fine when viewed with Firefox, but with IE no flyouts appear!

Does any body know why this should be? It could be something wrong with my browser. Could someone try this out for me please?


 
This was in the source code:
Code:
<!--[if IE]>

      <style type="text/css">
      
        [COLOR=red][b]body {behavior: url(csshover.htc);}[/b][/color]
        
        ul a, ul, li {height: 1%;} /* Holly hack fix for IE bugs */
        		
        li {
        	margin-left: -16px;
        	mar\gin-left: 0;
        } /* special rules to correct older IE/win bullet zone problems */
      
      </style>

      <noscript>
        <style type="text/css">
      
	 		ul ul {position: static;}
      
        </style>
      </noscript>
			
<![endif]-->

It is a special file loaded for IE only, if you didn't download it along with the source code then IE will not function the same. It's located here:


-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top