...

View Full Version : Tables Not Centering



zaltek
12-20-2010, 11:09 PM
Hello all, I have these two tables (top nav bar and main body), both 1000px wide, but top nav bar is exactly 1 pixel to the left of the main body. What is causing these two tables not to align right and display off-center in Firefox? Here is the link to the page I am working on:

http://www.unitedfleetparts.com/

and my two external files:

http://www.unitedfleetparts.com/javascripts/general.js
http://www.unitedfleetparts.com/css/general.css

SB65
12-21-2010, 09:04 AM
If you go through the widths of the images within that top table, the width totals 1001px. Sort that and the tables line up.

zaltek
12-22-2010, 04:11 AM
The 1 extra pixel was a transparent spacer .gif that Adobe Fireworks automatically put in the nav bar, I hadn't even noticed that with that spacer the top table was actually 1001px like you said. Thanks so much for pointing that out. :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum