PDA

View Full Version : CSS table Question



spree
22 Dec 2005, 02:57 PM
Hey all, I'm new here and I"m kinda newbi in web development :)

I use VS2003.NET. How do I make my table's first row to be colored in a certian color and make the text allign to center. Where all the other rows of the table are in a different color and the text is alligned to the left ?

I'm trying to do a "Form" like table with a title as a first row and the body as the rest

|--------|
| text | <- first row to be in a certian color with centered text
|--------|
|text | <- all the rest of the rows in the in a different color with the text
|--------| alligned to left
|text |
|--------|
|_______|