View Full Version : td in NS
zoobie
05-05-2003, 12:56 AM
So, I take it the css class td {text-align:center} doesn't work in NS6+?
<td>Hello</td> gets aligned left :rolleyes:
Thanks
BrainJar
05-05-2003, 03:54 PM
It works in Mozilla, and in NS6 I would assume. You might try running your page through the CSS validator to see if there are any syntax errors that might be causing a problem.
Incidentally, using a tag name on a style rule is called a type selector. They apply to all instances of that tag. Class selectors start with a "." character and apply only to elements with a matching class attribute on the tag. There are many types of selectors in CSS and they can be combined as well. I have examples of most posted at http://www.brainjar.com/css/using/
zoobie
05-05-2003, 05:56 PM
I think I was missing a closing </head> tag when I posted...Your article is good reading to add a little more info about using css. Thanks
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.