Web Hosting Talk







View Full Version : can't overwrite align property for <th> in Css?


grabmail
04-03-2006, 06:20 AM
In my css

th {
text-align: left;
}


but for just one of the th, i want to align center.

so i do this

<th align="center">

but it never overwrite the css.

what is the proper way to do it.

slack
04-03-2006, 01:22 PM
Try <th style="text-align: center"> which should override your definition by proximity.