Alignment issues.

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Shaneckel
Forum Commoner
Posts: 48
Joined: Fri Sep 23, 2005 3:46 am
Location: Pittsburgh, PA

Alignment issues.

Post by Shaneckel »

The footer aligns properly in IE, but in firefox it's a pixel off on the bottom left

http://www.shaneckel.com/new

any suggestions?
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

I looked at the source, and ick... I stopped looking for problems when i saw

Code: Select all

<td width="94" height="1"></td>
			<td width="154" height="1"></td>
			<td width="100" height="1"></td>
			<td width="38" height="1"></td>

			<td width="84" height="1"></td>
			<td width="90" height="1"></td>
			<td width="102" height="1"></td>
			<td width="118" height="1"></td>
			<td width="10" height="1"></td>
			<td width="24" height="1"></td>
			<td width="1" height="1"></td>
My first step would be to clean up the table... if you are going to use tables for layout, try to use as "small" of a table as possible (by small, i mean the fewest number of cells, and to avoid "spacer" cells where possible).

The next step, would be to ensure the code Validates.

After that, you'll probably find that the layout/look will come together much easier...
Shaneckel
Forum Commoner
Posts: 48
Joined: Fri Sep 23, 2005 3:46 am
Location: Pittsburgh, PA

Post by Shaneckel »

That does look strange, but I slice my web-sites up. I can't hand code tables that will display pictures flush, so I leave fireworks to that. I then clean the code up. If I get rid of that string of tables (which use to be a series of empty img place holders for some ungodly reason) the whole site breaks apart.

I also haven't changed everything to xhtml, including the doctype.

All that aside (which is alot) This problem is strange. How can 1 browser interpret a style background with 1 pixel off from the next.

I could edit the pictures, but that would just leave the other one off.
Shaneckel
Forum Commoner
Posts: 48
Joined: Fri Sep 23, 2005 3:46 am
Location: Pittsburgh, PA

Post by Shaneckel »

http://www.shaneckel.com/new

W3C valid. It's 7 in the morning, but it's valid.

Now that nothing has changed, does anyone have any idea why the footer is 1 pixel off in Mozzilla and aligned straight in Internet explorer?
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

Shaneckel wrote:www.shaneckel.com/new

W3C valid. It's 7 in the morning, but it's valid.

Now that nothing has changed, does anyone have any idea why the footer is 1 pixel off in Mozzilla and aligned straight in Internet explorer?
Double check your css file, the validator found a bunch of errors.. (not saying this is the problem)
Shaneckel
Forum Commoner
Posts: 48
Joined: Fri Sep 23, 2005 3:46 am
Location: Pittsburgh, PA

Post by Shaneckel »

nickvd wrote:
Shaneckel wrote:www.shaneckel.com/new

W3C valid. It's 7 in the morning, but it's valid.

Now that nothing has changed, does anyone have any idea why the footer is 1 pixel off in Mozzilla and aligned straight in Internet explorer?
Double check your css file, the validator found a bunch of errors.. (not saying this is the problem)
man, you're good.

Ok, I fixed that as well. That would be everything.

Do you have any ideas on why this isn't working?
Post Reply