On 06 Jun 2004 in macromedia.dreamweaver, Bonnie in Sacramento wrote:
Quote:
Brian wrote:
Does anyone know if 'Style' is a valid attribute for the <tr> tag.
I can't seem to find this out on the W3c site.
Thanks
Brian:
font-style
or list-style
are valid attributes you can us in a <tr> tag. Not sure about
"style" all by itself? |
I don't know as you can use either in a <tr> tag. 'font-style' is CSS,
and 'list-style' applies to lists. Off the top of my head, 'style' (note
the lowercase) is a valid attribute for just about any tag. Unless you
have a good reason, however, using inline styles is to be discouraged
because it's a maintenance nightmare.
Here we go - entity core attributes, from:
http://www.w3.org/TR/html401/sgml/dtd.html#coreattrs
<!ENTITY % coreattrs
"id ID #IMPLIED -- document-wide unique id --
class CDATA #IMPLIED -- space-separated list of classes --
style %StyleSheet; #IMPLIED -- associated style info --
title %Text; #IMPLIED -- advisory title --"
--
Joe Makowiec can be reached at:
http://makowiec.org/contact/?Joe