2 replies [Last post]
Deicidus
Offline
newbie
Last seen: 17 years 44 weeks ago
Joined: 2004-07-24
Posts: 2
Points: 0

I'm new to web development, so I didn't have a doctype on my site. I just figured out why I needed it and added a HTML 4.0 strict doctype tag.

In Opera: Now the main content of my page moved to the left, covering up the menu bar. The right, white border of the menu bar is also missing now.

In IE: The menu bar now appears at the bottom of the page instead of on the left as it should be.

My site is at http://thinkdammit.freeunixhost.com/

Thank you for your help!

safull
safull's picture
Offline
Regular
Madrid -Spain
Last seen: 18 years 39 weeks ago
Madrid -Spain
Timezone: GMT+1
Joined: 2003-08-27
Posts: 17
Points: 0

Quirks mode

When you don't define your document type with the <!DOCTYPE directive the browser rendering the page have to guess what kind of document is. So now you have explicity define, it will render acording to the standars.

Some links of how about Browsers quirk:
Mozilla
Internet Explorer

Deicidus
Offline
newbie
Last seen: 17 years 44 weeks ago
Joined: 2004-07-24
Posts: 2
Points: 0

Adding doctype messes up menu bar

Yay! With help from that page, I got it all sorted out. Thanks!