Forum Home
Press F1
 
Thread ID: 45559 2004-05-26 04:04:00 Why does my index display fine in IE but not Firefox when the rest does? Chilling_Silence (9) Press F1
Post ID Timestamp Content User
239334 2004-05-26 04:04:00 Greetings,

Im re-designing my website (Some links will be 404's) and have given it a new look / feel.

Funny thing is, my index.html file displays fine in IE, but not in Firefox (The little emblem is south a few pixels) as is the Nav-text.

Funny thing is it displays fine in all the other pages and all I did was copy / paste the "navigational" part of the page into a new .html text file.

Does anybody have any idea's why it may not be displaying correctly? The rest of the website is fine in IE and in Firefox, so why does Firefox not like my index.html??

See: Dimension.net.nz (http://www.dimension.net.nz)
(Yes, it redirects to Chillingsilence.no-ip.com)

Many thanks


Chill.
Chilling_Silence (9)
239335 2004-05-26 10:20:00 To get the image alignment, try ditching the paragraph statement as in:

<table width="373" border="0" cellpadding="0" cellspacing="0"
align="right">
<tbody>
<tr valign="top">
<td align="right"> images/decal.jpg </td>
</tr>
</tbody>
</table>


The div positioning is a bit more interesting :|
wuppo (41)
239336 2004-05-26 11:06:00 You could have a play with the 'line-height' style in your menu div as in:

<div id="Layer1" style="line-height: 0px; position: absolute; left: 6px;
top: 116px; width: 660px; height: 20px; z-index: 1;">
wuppo (41)
239337 2004-05-26 11:23:00 If you bring up page info in firefox (right click on the page) you will see it is running in standard compliance mode which IE lacks.

It is choosing standards mode because the doctype is html4 strict, but your html isn't.
Changing the doctype to &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt; should switch firebird back to quirks mode.

If you want to keep html4 strict then pay a visit to the w3c html validator.
bmason (508)
239338 2004-05-28 09:59:00 > If you bring up page info in firefox (right click on
> the page) you will see it is running in standard
> compliance mode which IE lacks.

Oops, had a look in the asp.net docs at work and IE also has a standard compliance mode but it is handling the broken html differently to firebird (falling back to quirks mode at a guess).
bmason (508)
239339 2004-06-04 01:08:00 Cheers bmason - Worked a treat! Chilling_Silence (9)
1