|
Posted by dorayme on 05/22/06 12:27
In article <e4rrcg$l2j$1@news-01.bur.connect.com.au>,
spodosaurus <spodosaurus@_yahoo_.com> wrote:
> Hi all,
>
> I'm trying to make a website with a fixed table width centred in the
> page. The width is specified using:
>
> <table width="779">
>
> This works fine in the latest version of mozilla, 1.7.13. However, in
> IE6 it renders as 955 pixels. (IE also ignores row height specifications
> half the time, but that's something I'll work on later) I want this
> website to be viewable with both mozilla and IE rather than look goofy
> in one but nice in the other.
>
> Can anyone explain to me why this is happenening and what I can do to
> make IE render the table at the fixed width I want?
>
url?
First, put style info for the table in css. If you want to do it
inline, put style="width: 779px" instead of what you have about
width. The "px" bit is important.
Second, there is no normal way a browser will respect your
widths for anything if you have content that can't normally and
sensibly fit in there (like a landscape picture in a too small
portrait box). Or if your widths for the cells in the row do not
make mathematical sense.
And surely other things too. Did I say url?
--
dorayme
[Back to original message]
|