IE 6 and doctype xhtml1-strict

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
peter@didm.co.uk
Beginner
Beginner
Posts: 5
Joined: Tue Dec 06, 2005 8:31 pm

IE 6 and doctype xhtml1-strict

Post by peter@didm.co.uk »

Hi,

With the doctype set to

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

When viewing using Firefox the milonic menu is correctly positioned. However when viewing using IE 6 the menu does not position correctly:

1. The main menu appears to be positioned relative rather then absolute
2. The sub-menus are offset to the right by a considerable amount

Help please

Is this a known problem?
How can I overcome the problem?

Peter Sparkes
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: IE 6 and doctype xhtml1-strict

Post by Ruth »

Hi,

Without a link to the page to see what's going on I can't help. This is the first report of this issue I've seen on the forum.

Ruth
peter@didm.co.uk
Beginner
Beginner
Posts: 5
Joined: Tue Dec 06, 2005 8:31 pm

Re: IE 6 and doctype xhtml1-strict

Post by peter@didm.co.uk »

Hi Ruth,

I have found out what the problem is. It is in my css ( which is not referenced in my milonic data file). I have:

body {
width:780px;
padding:0px 0px 0px 0px;
margin: 0px auto 0px auto;
background-color:white;
color: black;
position:relative;
font-family:arial, verdana, sans-serif;
font-size: 11px;
text-align: center;
}


Its in the position:relative; if I remove position:relative; or change it to position:absolute; the problem goes away.

Is there a way of overcoming the problem or do have have to completely redesign my css

Regards

Peter
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: IE 6 and doctype xhtml1-strict

Post by Ruth »

Hi,

I'm sorry, but I'm a hands on fixer. I don't really know the ins and outs of css and how various coding interacts, so without the page and related things like menu and css file to experiment I don't know the answer.

Ruth
Post Reply