Wednesday, September 14, 2011

How do I change the color of Links inside of a table?

How do i change the color of links inside a table in a table. I want to keep the links in table 1 white but change the links in table 2 black. How do i do this with coding and tags as i don't like to do it with an editor and i don't have one?How do I change the color of Links inside of a table?I could give you non-functional attempts or a list of every link that might apply, but here's the poop.



You know tables. you know some tags, you don't like those 'graphic visual crap editors'. sounds like you need an answer!

it's just CSS,

%26lt;style type=%26quot;text/css%26quot;%26gt;

table.blackey a {color: black; }

table.whitey a {color: white; }

%26lt;/style%26gt;

then you add the class to the table tag! %26lt;table class=%26quot;blackie%26quot;%26gt;.



It's real easy, and once you get started you'll never stop!How do I change the color of Links inside of a table?%26lt;style type=%26quot;text/css%26quot;%26gt;

table1 table, td a {

color: white;

}

table2 table, td a {

colour: black;

}

%26lt;/style%26gt;



%26lt;table class=%26quot;table1%26quot;%26gt;

%26lt;tr%26gt;

%26lt;td%26gt;

CONTENT

%26lt;/tr%26gt;

%26lt;/td%26gt;

%26lt;/table%26gt;



%26lt;table class=%26quot;table2%26quot;%26gt;

%26lt;tr%26gt;

%26lt;td%26gt;

CONTENT

%26lt;/tr%26gt;

%26lt;/td%26gt;

%26lt;/table%26gt;



this should work. i havn't tested it (just made it up, in a way)....How do I change the color of Links inside of a table?鈽呪槄 BEST HTML/XHTML/CSS REFERENCE 鈽呪槄



鈼?The best HTML/XHTML Reference



鈽?http://www.w3schools.com/tags/



鈼?The best Cascading Style Sheet Reference



鈽?http://www.w3schools.com/css/css_referen html



鈼?Links to HTML/HTML related sites



鈽?http://www.websitetips.com/html/



鈼?Links to Cascading Style Sheet related sites



鈽?http://www.websitetips.com/css/



鈼?The best Cascading Style Sheet discussion email list



鈼?http://www.css-discuss.org/



鈼?Links to thousands of Cascding Style Sheet examples sites



鈽?http://css-discuss.incutio.com/



鈼?Css Filters



鈽?http://www.centricle.com/ref/css/filters



鈽呪槄 BEST WEB DESIGN BOOKS 鈽呪槄



鈼?Read these books about html/xhtml/css.

http://www.google.com/search?num=100%26amp;hl=



鈼欌棛 More great books 鈼欌棛



鈼?css hacks and filters

鈽?http://www.idest.com/csshacks



鈼?CSS Anthology 101

鈽?http://www.oreilly.com/catalog/095792188



鈼?Read this CSS filters site

鈽?http://www.centricle.com/ref/css/filters



鈼?Here is a really good css email list run by eric meyer

鈽?http://www.css-discuss.com/



鈼?Here are their CSS examples pages

鈽?http://css-discuss.incutio.com/



鈼?The best free HTML/XHTML/CSS editor with many plugins you can add to it for extra features.

鈽?http://www.chami.com/html-kit/



鈼?Don't use Microsoft Frontpage. It is just plain junk and very difficult for newcomers.