Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Right Margin Gap

Status
Not open for further replies.

outsourceoncall

Technical User
Dec 20, 2001
36
US
I created this page, using 100% tables. When I first open the page in Explorer, it looks fine, but when I click on another link and come back to it, a gap appears on the right not matter... I am stumped...any tips?

Here is a test page I have posted....

 
Though I don't have a direct answer for the problem, I can make a suggestion (which you probably won't like!). I would recommend making everything all one table, rather than having tables within tables.

I had to do this with a site whose tables I'd created with FP and it was certainly a hassle because I had to actually edit the HTML. But I wound up with a site that is displayed as I want it to be in every browser I've tested with and with every screen resolution.

The only guess I have about the problem is that some of your tables have explicit pixel size and others have percentages. There could be a conflict there. Since explicit pixel sizes usually come into existance when you've resized by dragging on a table/cell with the mouse (as opposed to your setting them), I would suggest starting with those and specifying percentages instead of pixels.

Good luck. If you come up with the solution, please post so others can learn too! :)
 
HEre is the fix:

<body topmargin=&quot;0&quot; leftmargin=&quot;0&quot; rightmargin=&quot;0&quot; bottommargin=&quot;0&quot;>

Before the tag looked like this:

<body topmargin=&quot;0&quot; leftmargin=&quot;0&quot;>

Thanks for the response!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top