PDA

View Full Version : css Error :S



Moh
22-09-2007, 03:50 PM
Well for AirHabbos Links, there green and the only time they have decoration (underline) is on hover.
But unvisited links are underlined and cant find the reason :s
Its prob sumin right infront of me
+Rep if u can fix it for me :D

/* CSS Document */
}
body {
margin: 0px;
background-image:url("http://airhabbo.com/images/backgrounds/musicbg.gif");
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 8px;
}
#marquee {
background-image: url('images/black_bg.png');
background-repeat: repeat-x;
font-family: "Trebuchet MS";
font-size: 12px;
color: #FFFFFF;
padding-top: 2px;
}
#disclaimer {
background-image:url("images/main_layout_bottom5.gif");
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-size:9px;
}
}
A:link {
text-decoration: none;
}
A:active {
text-decoration: none;
}
A:visited {
text-decoration: none;
}
A:hover {
text-decoration: underline;
}

bodystyle {
font-family: Verdana;
font-size: 12px;
}

td {
font-family: Verdana;
font-size: 11px;
}

ScottDiamond.
22-09-2007, 04:31 PM
/* CSS Document */
}
body {
margin: 0px;
background-image:url("http://airhabbo.com/images/backgrounds/musicbg.gif");
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 8px;
}
#marquee {
background-image: url('images/black_bg.png');
background-repeat: repeat-x;
font-family: "Trebuchet MS";
font-size: 12px;
color: #FFFFFF;
padding-top: 2px;
}
#disclaimer {
background-image:url("images/main_layout_bottom5.gif");
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-size:9px;
}
}
A:link {
text-decoration: none;
}
A:hover {
text-decoration: underline;
}

bodystyle {
font-family: Verdana;
font-size: 12px;
}

td {
font-family: Verdana;
font-size: 11px;
}

Try that.

Moh
22-09-2007, 04:40 PM
Nope, made all the links underlined :s

timROGERS
22-09-2007, 04:42 PM
Try this:



/* CSS Document */
}
body {
margin: 0px;
background-image:url("http://airhabbo.com/images/backgrounds/musicbg.gif");
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 8px;
}
#marquee {
background-image: url('images/black_bg.png');
background-repeat: repeat-x;
font-family: "Trebuchet MS";
font-size: 12px;
color: #FFFFFF;
padding-top: 2px;
}
#disclaimer {
background-image:url("images/main_layout_bottom5.gif");
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-size:9px;
}
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}

bodystyle {
font-family: Verdana;
font-size: 12px;
}

td {
font-family: Verdana;
font-size: 11px;
}

ScottDiamond.
22-09-2007, 04:44 PM
Try this:



/* CSS Document */
}
body {
margin: 0px;
background-image:url("http://airhabbo.com/images/backgrounds/musicbg.gif");
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 8px;
}
#marquee {
background-image: url('images/black_bg.png');
background-repeat: repeat-x;
font-family: "Trebuchet MS";
font-size: 12px;
color: #FFFFFF;
padding-top: 2px;
}
#disclaimer {
background-image:url("images/main_layout_bottom5.gif");
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-size:9px;
}
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}

bodystyle {
font-family: Verdana;
font-size: 12px;
}

td {
font-family: Verdana;
font-size: 11px;
}


Eww, I just realised how the links were.

Moh
22-09-2007, 04:48 PM
Ahh, I found the error xD


#disclaimer {
background-image:url("images/main_layout_bottom5.gif");
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-size:9px;
}
}
A:link {
text-decoration: none;
Had 2 }

+Rep 2 u ppl who tried helping <3

Want to hide these adverts? Register an account for free!