CSS problem...

Posted:
in Genius Bar edited January 2014
http://www.eccentrick.co.uk/mac/live.html



Why, on IE5/Mac, are the menus appearing way over to the right?



Thanks in advance if anyone can answer!



Lawrence.

Comments

  • Reply 1 of 2
    progmacprogmac Posts: 1,850member
    looks fine to me, did you fix it? if not, i would check out the DOCTYPE, sometimes that will cause problems with CSS. you have:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"

    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">;



    what you have is basically "strict mode" doctype. You might try transitional mode:



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">;



    it doesn't seem like it should matter, but it does sometimes. let us know how it goes!
  • Reply 2 of 2
    Quote:

    Originally posted by progmac

    looks fine to me, did you fix it? if not, i would check out the DOCTYPE, sometimes that will cause problems with CSS.let us know how it goes!



    Cheers!



    Turns out the problem was as simple as needing a clear:both; in there.
Sign In or Register to comment.