Log in

View Full Version : index page won't display correct (css ???)



Cheng
03-15-2008, 06:28 PM
Hi.

I have a problem with a personal homepage of mine.
A couple of days ago out of the blue the index page won't display properly anymore.
The container used to be centered and now it isn't anymore.
All the other pages are ok and when I rename the index to index1 or whatever it will display fine and when I rename it back to index again everything is out of place.
All the pages are using the same CSS stylesheet, please someone have a look at it here:

http://www.tommys-service-enterprise.gmxhome.de/index.html

This is free webspace and the index page shows a javascript popup when opened if it is not blocked by a popup blocker but this was always the case and there was no problem before.
Please give me a hint how to fix this.

Thanks in advance.

Medyman
03-15-2008, 07:23 PM
You have some javascript before the Doctype decleration.

This should be contained within the <head> tags.

AmenKa
03-15-2008, 08:21 PM
It looks fine from my end.. the index uses the same template as the rest of the site

Cheng
03-16-2008, 02:01 AM
You have some javascript before the Doctype decleration.

This should be contained within the <head> tags.

.......I did not put this javascript there.
As I said it is free webspace and this javascript before the Doctype is added automaticially but it was always there and it never was a problem.
I can't figure out what to do to have the index page display correct again.
Hopefully someone of you guys can help me out with an idea.......