HighDots Forums  

Blank row in a table

alt.html.tags alt.html.tags


Discuss Blank row in a table in the alt.html.tags forum.



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

Default Blank row in a table - 06-05-2004 , 05:15 PM






How can I create a blank row in a table? The browser seems to be
smarter than me, and simply ignores the <tr></tr> tags for the empty
row.
Thanks,
Pat

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Blank row in a table - 06-06-2004 , 12:22 AM






pmcclure33 (AT) yahoo (DOT) com (Pat) wrote:

Quote:
How can I create a blank row in a table?
I think the more important questions are "why would you create a blank
row?" and "what do you mean by a blank row"?

Quote:
The browser seems to be
smarter than me, and simply ignores the <tr></tr> tags for the empty
row.
Pardon? If you tried literally <tr></tr>, then it's a syntax error, and
all bets are off - browsers can do whatever their routines lead to, as
unplanned error processing, or even do some real error processing.

<tr><td></td></tr> is valid. A browser may effectively ignore it, since
there is no content, i.e. the row can be rendered as 0 pixels high, at
least if cellpadding is zero.

<tr><td>&nbsp;</td></tr> is valid too, but it has no defined rendering
either, though browsers normally treat it so that they render an empty
row, with height equal to the size of the font.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html




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 - 2008, Jelsoft Enterprises Ltd.