Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Nested Table Problem in Firefox

Nested Table Problem in Firefox
Thread Tools
KeyLimePi
Mac Elite
Join Date: Sep 2000
Location: Baltimore
Status: Offline
Reply With Quote
Mar 14, 2005, 09:36 AM
 
I've got a page design that uses a nested table for a navbar. It looks fine in IE & Safari but in Firefox (and some other mozilla browsers) the navbar centers vertically as the main cell of the parent table expands.

You can see it as it should be here and, if you've got Firefox (either Mac or PC) with the expansion problem here.

This is a quick & dirty HTML site (no CSS) and I actually went with a nested table to prevent this very problem. Can anyone offer a suggestion for getting the floating nav table to stay at the top of the cell when it expands?

Thanks.
     
eyadams
Dedicated MacNNer
Join Date: Oct 2000
Location: Pasadena, CA, USA
Status: Offline
Reply With Quote
Mar 14, 2005, 01:45 PM
 
It looks like the problem is that when the web page expands the table cell that contains the logo (about line 74 in homex.html) is expanding lengthwise, pushing the menu down. In IE that cell is only big enough for the logo, but in Firefox it occupies about 60% of the page height.

Move the table with the menu (starting about line 124) and move it to the same cell as the logo. This works in both IE and Firefox (I'm at work right now and can't test in Safari). If you need extra padding between the menu and the logo, you can insert a div with a height style.
     
KeyLimePi  (op)
Mac Elite
Join Date: Sep 2000
Location: Baltimore
Status: Offline
Reply With Quote
Mar 14, 2005, 02:13 PM
 
D'oh! You're exactly right. It was the cell above my navcell that was expanding. And your suggested fix sounds like just what I need. Sorry for posting what now seems like such an obvious fix.

eyadams I owe you a beer.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 07:10 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,