|
Posted by mbstevens on 08/10/05 15:26
Frogleg wrote:
> I devised the following:
>
> <div style="width: 80%;">
>
> <table width="100%">
> (table 1)
> </table>
>
> <table width="100%">
> (table 2)
> </table>
>
> </div>
>
> Table 1 occupies the entire width of the <div> quite nicely, but...
> with IE, Table 2 occupies only about 80%(!) of the width, while with
> Mozilla, it's fine. If I change table 2's width to 120%, not
> surprisingly, it displays nicely in IE, but runs over the edge with
> Mozilla.
>
> I know the overwhelming answer will be "don't use tables," so let's
> just say that my religion requires it.
A) Become agnostic, :)
or
B) Do some reading here:
http://www.tantek.com/CSS/Examples/boxmodelhack.html
....and here:
http://www.thenoodleincident.com/tutorials/box_lesson/index.html
....and at the links off the opening page there.
--
mbstevens
http://www.mbstevens.com/cgi/mkatt.pl?name=python/Critique_Generator
(new, version 1.1)
Navigation:
[Reply to this message]
|