View Full Version : text-align not working


iluvteddies
06-16-2005, 02:51 AM
I'm working on this site: http://www.igoddess.ca/necklaces

You can find the stylesheet at http://www.igoddess.ca/style.css

The text-align isn't working... and I don't know why.

Here's the code:

BODY {background-color: #d6eaf6;
background-image: url(background.jpg)"
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#355EA6;
scrollbar-face-color:#0E3374;
scrollbar-highlight-color:#355EA6;
scrollbar-3dlight-color:#0E3374;
scrollbar-darkshadow-color:#051E49;
scrollbar-shadow-color:#0E3374;
text-align: center;
font: 20px tahoma;}

TD {text-align: center;}

B {color: FFFFFF;}

A:link {text-decoration: none;
color:#FFFFFF;}

A:visited {text-decoration: line-through;
color:#FFFFFF;}

A:hover {text-decoration: underline overline;
color:#FFFFFF;}

I know it's probably something really stupid, but I can't see it!

Please help me!!

Thank you very muchly.

webgirl
06-16-2005, 03:19 AM
BODY {background-color: #d6eaf6;
background-image: url(background.jpg);
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#355EA6;
scrollbar-face-color:#0E3374;
scrollbar-highlight-color:#355EA6;
scrollbar-3dlight-color:#0E3374;
scrollbar-darkshadow-color:#051E49;
scrollbar-shadow-color:#0E3374;
text-align: center;
font-family: tahoma;
font-size: 20px;}

TD {text-align: center;
font-family: tahoma;
font-size: 20px;}

B {color: #FFFFFF;
font-family: tahoma;
font-size: 20px;}

A:link {text-decoration: none;
color:#FFFFFF;
font-family: tahoma;
font-size: 20px;}

A:visited {text-decoration: line-through;
color:#FFFFFF;
font-family: tahoma;
font-size: 20px;}

A:hover {text-decoration: underline overline;
color:#FFFFFF;
font-family: tahoma;
font-size: 20px;}

See if that works.

iluvteddies
06-18-2005, 04:13 PM
Yeah, it worked. I didn't need to change the whole code... I just needed to change the " on the end of the background image tag to a ; and that fixed it.

Grr... I can't believe I didn't see that.

Thank you very much!