Reply to Re: Problem with table width: mozilla renders it, IE makes up numbers

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация