HighDots Forums  

OT question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss OT question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brian
 
Posts: n/a

Default OT question - 06-06-2004 , 09:54 AM






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



Reply With Quote
  #2  
Old   
Bonnie in Sacramento
 
Posts: n/a

Default Re: OT question - 06-06-2004 , 10:35 AM






Brian wrote:

Quote:
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?


--
Bonnie in Sacramento
kroko at
sbcglobal dot net


Reply With Quote
  #3  
Old   
Ken Ford - PVII Support
 
Posts: n/a

Default Re: OT question - 06-06-2004 , 10:37 AM



Sure looks like it in HTML 4.01:

http://www.w3.org/TR/html401/struct/tables.html#h-11.2.5

--
Ken Ford
Certified Dreamweaver MX 2004 Developer
PVII Support Team
http://www.projectseven.com


"Brian" <farrellb (AT) indigo (DOT) ie> wrote

Quote:
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





Reply With Quote
  #4  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: OT question - 06-06-2004 , 11:03 AM



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 --"
Quote:
--
Joe Makowiec can be reached at:
http://makowiec.org/contact/?Joe


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.