Need help with CSS2 coding

Jimbeef

New Member
Hi all, I'm new to all this, was wondering if someone could help me out. Have been looking at CSS codes and templates. I have one that I'm fiddling with that only seems to work in IE7, due to IE6 not being very CSS compliant.

Here's the problem code, how do I get these files to work in IE6 so the page displays properly? I know there's a series of code, but I've no idea what it is and where to put it.

<style type="text/css">


#container{background:#f0f0f0 url(file:///C|/Documents and Settings/Administrator/Desktop/Templates/andreas09/alt-img/bodybg-red.jpg) repeat-x;}
#mainmenu a:hover{background:#f0f0f0 url(file:///C|/Documents and Settings/Administrator/Desktop/Templates/andreas09/alt-img/menuhover-red.jpg) top left repeat-x;}
#mainmenu a.current{background:#f0f0f0 url(file:///C|/Documents and Settings/Administrator/Desktop/Templates/andreas09/alt-img/menuhover-red.jpg) top left repeat-x;}
.style2 {color: #CC3300}
</style>[/B][/B]
 

StephanieCordray

New Member
for one thing, i don't know why you need two of these: #mainmenu
second, it should be " a:current " instead of a.current

You can set up #mainmenu like so:
a:hover {your stuff}
a:current {your stuff}

and so on for whatever you need to show for the links section.
 
Top