| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|changing font attributes in tables with CSS?|
I'm getting an error with a style I'm using:
and in the body:
The problem is that the font color will not change; it defaults to black.
(single quote) after colon.
Also, you need a semicolon after the #336699
And I think you should put spaces in your stylesheet where a human would expect to see them. This will make it easier to read and errors will be easier to spot.
When I find myself leaving out tabs and spaces in a stlyesheet I know it's time for a break.
Assigning a class means you only need to define the class and not the tag it is applied to.
You can then apply the class="right" to any appropriate tag.
thanks for your replies.
I figured out the problem:
to change the color of the font the code is:
hehe, funny no one noticed that, I sure missed it ;)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved