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 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2009
    Posts
    89
    Thanks
    27
    Thanked 0 Times in 0 Posts

    CSS working in IE

    Hi all..

    I have this bit of code...
    Code:
    .blue {
    
    	font: bold 12px Arial, Helvetica, sans-serif;
    	color: #FFFFFF;
    	background: #000080;
    }
    .blue a:link{
    	font: bold 12px Arial, Helvetica, sans-serif;
    	color: #FFFFFF;
    	background: #000080;
    }
    .blue a:visited{
    	font: bold 12px Arial, Helvetica, sans-serif;
    	color: #FFFFFF;
    	background: #000080;
    }
    .blue a:hover{
    	font: bold 12px Arial, Helvetica, sans-serif;
    	color: #FFFFFF;
    	background: #000080;
    }
    .blue a:active{
    	font: bold 12px Arial, Helvetica, sans-serif;
    	color: #FFFFFF;
    	background: #000080;
    }
    in firefox it renders perfectly...in IE it's black text on a white background....
    any thoughts?

    thanks!

    =)

    carrie

  • #2
    Regular Coder
    Join Date
    Jan 2009
    Posts
    193
    Thanks
    0
    Thanked 20 Times in 20 Posts
    What is your html code and full style sheet or a link to it?

  • #3
    New Coder
    Join Date
    Mar 2009
    Posts
    89
    Thanks
    27
    Thanked 0 Times in 0 Posts

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,855
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Always supply a valid markup to expect a compatible output. See the errors in your markup at http://validator.w3.org/check?verbos...ahunter.com%2F

    You need to add a complete DOCTYPE at the top, as a first step.
    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
    •