This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

problem using css absolute positioning, works in IE not in FireFox http://www.barryrich.net/timeline/timelinemap.htm

  • 4 uphendule
  • 4 zinale nkinga
  • 11 views
  • Igcine ukuphendulwa ngu Michael Verdi

more options

in my html code I use css for absolute positing of a sit map. One of my boytom styles #1935 works fine in IE but in Firefox it displays at the top left of the screen.

The address of the page is: http://www.barryrich.net/timeline/timelinemap.htm

It's a yellow block with text (1935)

Thanks for any advice on this.

in my html code I use css for absolute positing of a sit map. One of my boytom styles #1935 works fine in IE but in Firefox it displays at the top left of the screen. The address of the page is: http://www.barryrich.net/timeline/timelinemap.htm It's a yellow block with text (1935) Thanks for any advice on this.

Isisombululo esikhethiwe

Without a doctype declared, I believe Firefox parses this as HTML 4.01. In that case you can't start the name of a div with a number. I suggest changing the name of the div to start with a letter.

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 2

All Replies (4)

more options

Isisombululo Esikhethiwe

Without a doctype declared, I believe Firefox parses this as HTML 4.01. In that case you can't start the name of a div with a number. I suggest changing the name of the div to start with a letter.

more options

Let me cahnge the code and give it a try, thank you

more options

Changed the code and it is fine, thank you. Can us suggest a doctype to use for that code?

more options

Probably no reason why you can't just use HTML5. The doctype is:

That should be the very first line of the document. Check out our developer docs on HTLM5 - https://developer.mozilla.org/en/HTML/HTML5