Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts

    CSS LIST NAV not working on IE 6

    So I finally got my list navs to work then I looked at it on IE 6 pc- FAILED!
    Am I missing some tag or do I need to hack it and call out a special style for IE 6? This is my first list nav attempt and I need help. thank you in advance.

    link:
    http://www.ochies.com/cps/111609/sub.html

    css
    http://www.ochies.com/cps/111609/cps.css
    (#pipe - line 82 to 154)

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,860
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Try
    Code:
    #pipe li a {
    	/*background-image:url(images/navline.gif);*/
    	background-color:#999;
    	color:#333333;
    	padding:0 19px;
    	margin-right: 0px;
    	text-decoration: none;
    	height:52px;
    	line-height:52px;
    	float:left;
    }
    
    #pipe li a:link {
    	/*background-image:url(images/navline.gif);*/
    	background-color:#999;
    	color:#333333;
    	
    	margin-right: 0px;
    	text-decoration: none;
    }
    
    #pipe li a:visited {
    	/*background-image:url(images/navline.gif);*/
    	background-color:#999;
    	color:#333333;
    
    	margin: 0px;
    	text-decoration: none;
    }
    #pipe li a:hover {
    	color:#ffffff;
    	background-image:url(images/navline_on.gif);
    	
    	margin: 0px;
    	text-decoration: none;
    }
    
    #pipe li a:active {
    	/*background-image:url(images/navline.gif);*/
    	background-color:#999;
    	color:#333333;
    
    	margin: 0px;
    	text-decoration: none;
    }
    PS: The pseudo classes should be in the order link,visited,hover,active (LoVe-HAte), otherwise it may cause some unexpected issues in IE.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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