Forum Moderators: open

Message Too Old, No Replies

Table different in FF

My table with links appears nicely in IE but not in FF

         

Bendokan

11:43 am on Nov 12, 2007 (gmt 0)

10+ Year Member



Hi,

I have a simple table that allows to browse to other pages.
In IE it is perfectly positioned above the picture where I want it. In FF it appears approx 15px lower.
How can I change this?

<div class="style30" id="Layer6" style="position:absolute; width:477px; height:440px; z-index:2; left: 315px; top: 146px; visibility: inherit;">
<table width="477" border="0" cellpadding="0">
<tr>
<td width="99"><div align="center" class="style34"><a href="ServScandin.html">Scandinavia</a></div></td>
<td width="91"><div align="center" class="style34"><a href="ServBenelx.html">Benelux</a></div></td>
<td width="94"><div align="center" class="style34"><a href="ServicesAUCH.html">Austria Switzerland</a></div></td>
<td width="75"><div align="center" class="style34"><a href="ServEur.html">Europe</a></div></td>
<td width="96"><div align="center" class="style34"><a href="ServWorld.html">World</a></div></td>
</tr>
</table>
</div>

Thanks in advance

tedster

5:16 pm on Nov 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Bendokan, and welcome to the forums. Sorry your question went so long without any discussion.

The first thing I'd do is check whether the table is actually lower or whether the surrounding content is positioned differently. With the absolute positioning you've got in the CSS rules, that table really shouldn't be anywhere else but exactly 146 pixels from the top of the containing element. So take two screenshots, one of each browser, and then measure the position in Photoshop or whatever image editing application you are using.

And as always when working with cross-browser display issues, first be sure that your mark-up validates:

W3C Validator - HTML [validator.w3.org]
W3C Validator - CSS [jigsaw.w3.org]

Bendokan

9:25 am on Nov 19, 2007 (gmt 0)

10+ Year Member



Hi Tedster,

Thanks for your help.
You were right, it's the picture that lies behind that moves and not my table. I forgot to position the picture.
Thanks again,

Ben