Dan Girellini wrote:

> I didn't see anything on this elsewhere.  Maybe someone could shed some light
> on this.


I can only try. I'm not the real expert here, though I'm learning.


> 
> Why does the html below render the alignment of these three sets of tables
> differently?  More importantly, though, is that it seems to me that _none_ of
> them would be what a designer would want to happen (which would be having
> 'table two' take up all the space that table one hasn't...on the same
> line...all within the browser window).  



According to the specification, width=100% means 100% percent of the 
parent element's width... that would be the body element. So the layout 
is as expected. What you'd want is for the table soak up remaining 
space. Try to take a peek at the stylesheet mozilla.org uses, the tables 
there seems to do what you want.

BTW: width attribute in <td> is deprecated.


> 
> Am I missing an obvious way to get the desired layout?   Regardless, at least
> one of these layouts below seems like a bug, would y'all agree?


Uhm... no.

-- 
regards, Esben Mose Hansen
www.worldonline.dk/~mesben (danish site)


Reply via email to