| View previous topic :: View next topic |
| Author |
Message |
Kopilman
Joined: 25 May 2006 Posts: 162
|
| Anyone know why firefox would want to base a tbl percentage from the div it is in and IE would want to base it on the whole page |
| |
|
|
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
| Kopilman: it is because IE doesn't render it correctly, if you are using a percentage for a block level item like a table, it should follow the size of the container it is stored in |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| The container size it relative |
| |
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
| If you want to use css to create the layout, there are a couple workarounds to make it work in both firefox and ie |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
I've used css to layout the site
Just need to format some stuff in a table |
| |
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
| So you're saying the div width is relative? |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
Yes
It looks fine in IE
It looks squished in FF
But when i expand the %...it looks too big in IE...and fine in FF |
| |
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
| I see, do you have anything in the table already? try putting in some  's in the table cells |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
Yeah
The table is full of stuff
Thats why it doesn't look right |
| |
|
|
jomanda
Joined: 19 May 2006 Posts: 70 Location: Germany
|
Try putting a margin on the table using css for margin: 0 auto;
Kopilman: did that work for you? |
| |
|
|
| Page 1 of 2 |
Goto page 1, 2 Next |
|