troubleshooting Question

Firefox adding 1px in height to TD

Avatar of joshkrak
joshkrakFlag for United States of America asked on
Web DevelopmentWeb Browsers
3 Comments1 Solution537 ViewsLast Modified:
Working on the header and using a table layout. The last cell is a dynamic cap type thing using a repeated space to fill in what the buttons dont take up. This last cell needs a solid 1px border around it. In IE6 is works, but in FF3 (these are the only browser I have to test on) it is adding 1px in height to the cell.. How can I get FF3 to make the cell the same height as the others. I don't have a problem with removing the table for divs if you can give me the working HTML with style included. Here is the current HTML I am using.

The page with the bug is live @ http://www.alolha.com


<div> <!-- NavBar -->
                    <table cellpadding="0" cellspacing="0" style="border-collapse:collapse;">
                        <tr>
                            <td><a href="PicGallery.aspx"><img src="Images/MasterPage/btnGallery.png" alt="Gallery" border="0" /></a></td>
                            <td><a href="PicPage.aspx"><img src="Images/MasterPage/btnPics.png" alt="Pics" border="0" /></a></td>
                            <td><a href="PicUpload.aspx"><img src="Images/MasterPage/btnUpload.png" alt="Upload" border="0" /></a></td>
                            <td><img src="Images/MasterPage/btnMyPics.png" alt="MyPics" /></td>
                            <td style="width:100%; background-image:url('Images/MasterPage/RightNavSpacer.png'); border:solid 1px black;"></td>
                        </tr>
                    </table>
                </div> <!-- End NavBar -->
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros