PDA

View Full Version : IE and Tables. GRRRRR


YFS200
07-05-2006, 12:52 PM
I am fighting IE again.

http://www.4096k.net/pollys-test2/

Under every other browser, this page looks fine.
But the issue is with IE.


<TR> <!-- Build the menu struct -->
<TD width="0" height="0"><IMG src="images/webpage_background-4-small-1.gif" width="5" height="83" border="0"></TD>
<TD><IMG src="images/webpage_background-4-small-2.gif" width="89" height="83" border="0"></TD>
<TD><IMG src="images/webpage_background-4-small-3.gif" width="17" height="83" border="0"></TD>
<TD><IMG src="images/webpage_background-4-small-4.gif" width="585" height="83" border="0"></TD>
<TD background="images/webpage_background-4-small-5.gif" width="100%" height="83" align="left" valign="middle"></TD>
</TR>


The issue is the last TD I want to tile across the screen. With the width set to 100%, the table expands to the full width of the screen and everything looks perfect.
But IE expands the table wider then the screen width. Creating a scroll bar on the bottom and centering the content off the side of the screen.

I have been trying everything to figure out how to stop IE from doing this.
I can change the width to some fixed number, but then the table does not auto adjust to the screen size.
I have tried making the table in a bunch of different ways, but nothing works.

Any tips or pointers?
Thanks for any help.

-YFS

YFS200
07-08-2006, 02:40 AM
Never mind. I fixed it by splitting up the table so the top header bar and the lower section are two different tables. It seems to work, not sure why, but it works.

Use Firefox

Wassercrats
07-08-2006, 03:22 AM
I worked in it yesterday for a little while and couldn't fix it. I noticed that eliminating the bottom table made the top the right size (though split in two), so it kind of makes sense that your solution works. I would have done it all with CSS, but I just tried the top with CSS and that didn't work.

Myra
07-10-2006, 05:43 AM
...
Use Firefox

Bingo. My title for this post would be "IE and Anything. Grrr..."

Hunque of junque.

Myra