View Full Version : IE table gets pushed down

10-07-2004, 02:57 PM
In addition to previous issues (which you guys have been so helpful with), I now have yet another issue. I noticed that several of my tables under IE 6 are improperly formatted. I have a sidebar div floated left and a content div on the right that's not floated. It appears that IE adds space in the content div above the table until it is just below the bottom the sidebar.
Take a look at http://resweek.tamu.edu/login.php. Now compare to http://resweek.tamu.edu/schedule.php, which is formatted properly. I've not seen this behavior on Safari, Firefox, or IE5M, only under IE6 (and possibly 5 & 5.5, I don't have any of those browsers around).
The difference is that the login page has other tags as the first thing in the content div, while the schedule the first thing is the table. Magically, that makes the issue go away. Is this a bug I can go look up a fix for (argh!) somewhere? The places I've looked I've not found this particular bug. Thanks again!

10-07-2004, 03:09 PM
I didn't look at your error since I don't have IE at hand right now, but it sounds like this buggy overhere:

Three Pixel Gap (http://www.positioniseverything.net/explorer/threepxtest.html)

Workarounds are on there.. good luck! :)

10-07-2004, 03:45 PM
Wow I am impressed, it did work. I'd read the three-pixel hack several times before, but I didn't think it would apply to me because the behavior was different. Guess I didn't read closely enough.
Now I'm frustrated because I have to locate every single page that's got a table on it (there's tons) and fix it. If IE supported the CSS rule +, then it wouldn't be a problem. Then again, we probably wouldn't have this issue in the first place ... :rolleyes:
Thanks for your help!