PDA

View Full Version : Table colors in css


ellis90009
11-26-2006, 04:41 PM
i am on a sit e that uses css and they allow you to have a profile you customize and i want to make all the tables cells on my page one color is there a css code for that here is an exsample of what i mean

<style type=text/css>a,a:hover,input,textarea,hr,b, {color:#ff1493}</style>

i would like an attribute like that for the tables cell backgrounds


Thanks for all the help
Steve

VIPStephan
11-26-2006, 04:47 PM
The CSS selector for table cells is td.

ellis90009
11-26-2006, 09:10 PM
thats weird i tryed that and it didnt work but thats ok because they mad me take the css out of my tag because when i posted on their boards it turned the whole board pink hahaha

speaking of that i am going to post a sepret thing on that thanks for your help

VIPStephan
11-26-2006, 11:43 PM
Sure, if the entire board is based on tables for layout and you change the color for all table cells (which you do by just typing td in the stylesheet) then the entire page becomes pink.
I once made my product selling page on Ebay look totally different by applying different styles. :)