th************@hotmail.com wrote:
I'm stumped. Visit:
http://positivesweat.com/class.html
...and look at the tables in the middle labeled "morning" and
"evening". Do this in both IE and Firefox.
The tables appear to me to be defined identically (to take up 100% of
the width of the parent table), and indeed IE makes them the same
width, as I wanted and expected. But in Firefox (latest), the "evening"
table is appreciably narrower. Seemingly regardless of the text
contents of each cell.
Am I missing something subtle here or is this a Firefox/Gecko bug?
Thoughts on what's causing this, and on any non-kludgey workarounds,
much appreciated.
cheers /jonster/
First of all, there are 67 HTML errors, some of which involve
tables.
Then, you seem to be using a table to force margins, which should
instead be done with style-sheets. A style-sheet would simplify
your HTML by eliminating nested tables.
Finally, your MORNINGS and EVENINGS tables have no width
specified. As long as the specified ratios of column widths
(indicated as percentages in the <TD> tags) are maintained, these
two tables will have the minimum necessary width to hold their
text. Try adding width="100%" to the two <table> tags.
Even better, fix all the HTML errors and eliminate nested tables.
--
David E. Ross
<URL:http://www.rossde.com/>
I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.