|
| Table width in Opera |
 |
19 Jan 2007 12:53:28 -0800 |
Hi All,
I am encountering this problem while doing some cross-browser testing.
The table in IE looks fine, in Firefox it goes all the way to the edge
of the screen and in Opera it is going off the screen (way too big). I
have the table width set as 160% (I know its high, but I was playing
around with it)
Here is a sample page, it doesnt look as good as it should and I'm
sorry for having to use geocities, but the table is there and you will
see the effect I speak of
http://www.geocities.com/aal_jamal/rptStandard.htm
Thanks,
Ammar
|
| Post Reply
|
| Re: Table width in Opera |
 |
Sat, 20 Jan 2007 00:44:59 +010 |
Op Fri, 19 Jan 2007 21:53:28 +0100 schreef <aljamala@gmail.com>:
> Hi All,
>
> I am encountering this problem while doing some cross-browser testing.
> The table in IE looks fine, in Firefox it goes all the way to the edge
> of the screen and in Opera it is going off the screen (way too big). I
> have the table width set as 160% (I know its high, but I was playing
> around with it)
So, Opera is the only browser that obeys your wishes and you see a problem
in
this? Playing around is not a good way to create a complex nested tables
layout
IMHO :)
All the major browsers differ in their table (and table cells) width
algorithms.
Designers use the strangest combinations of percentage and pixel widths,
that
need to be handled by the browsers. Like nesting large tables in small
cells,
etc.
Using percentage widths is completely unreliable when it is not clear to
what
outer width the percentage refers. What does it *mean* when the only two
cells
in a row both have a 100% width, inside a table set to 100% width?
Designers use
such weirdness because they want to make sure nested tables always use the
maximum width. But I'd advice to start with no width settings at all and
the
simplest possible table structure. No nested tables to create paddings and
margins etc, this century you can use CSS for such details. Then maybe add
some
COL elements to give the major columns a specific width, if necessary.
> Here is a sample page, it doesnt look as good as it should and I'm
> sorry for having to use geocities, but the table is there and you will
> see the effect I speak of
>
> http://www.geocities.com/aal_jamal/rptStandard.htm
>
> Thanks,
>
> Ammar
>
--
Rijk / Opera Software ASA / QA etc
"We hereby honor Opera with our Han and Chewy Award for Innovation and
Harebrained Experimental Goodness"
|
| Post Reply
|
|
|
|
|
|
|
|
|
|