Forum Moderators: open

Message Too Old, No Replies

why is FF showing SSI on index page differently?

         

Rightz

3:35 pm on Jun 17, 2006 (gmt 0)

10+ Year Member



I have SSI includes. All the code works fine but on my index.html page in FF the header.shtml shows very slightly to the right.

Every other page is fine - and its the same SSI file. In IE I see no difference.

Anyone know why this is happening?

Thanks

Rightz

4:12 pm on Jun 17, 2006 (gmt 0)

10+ Year Member



I would understand if it was different on each page but it is only different on the index page. The code isn't different because its all coming from the same SSI file.

I'm baffled!

tedster

6:12 pm on Jun 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is the doctype the same on the Home Page?

Rightz

8:11 pm on Jun 17, 2006 (gmt 0)

10+ Year Member



ahhhh - haven't got a doctype on any of the pages. Should I?

Done a quick search would this be a correct doctype to use:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

I'm using html, css, ssi and a bit of php

tedster

11:48 pm on Jun 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Doctype is a whole other issue - but since you have no DTD on any page, that can't fully explain the differences you see.

Whenever there is a rendering issue, you really need to ensure that your code is valid first before you debug -- but you can't validate without validating TO some specific DTD. You could start with the partial dtd you have above, but this will keep your pages in "quirks mode", as you apparently developed them.

This much you can be sure of, Firefox is seeing something different -- perhaps in the mark-up before or after your include. You may simply be triggering an error recovery routine becuse of a mark-up problem.

I would definitely validate first:

W3C Validator - HTML [validator.w3.org]
W3C Validator - CSS [jigsaw.w3.org]
W3C List of Valid DTDs [w3.org]

Rightz

2:00 pm on Jun 22, 2006 (gmt 0)

10+ Year Member



I found out that FF moves everything over if there is no scroll bar - is there anyway to stop this?