SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Apr 2003
    Posts
    332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Absolute Problem with IE/Firefox

    Hi,

    This new page <url>http://www.mhanp.org/indexnewsave.html</url> works correctly in IE but the absolute positioning in Firefox puts the tier two menu items off to the left. How can I bring Firefox to position the tier two menu adjacent to the parent.

    Thanks,

    Andy

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,276
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    At a quick guess Iwould say you just need to add left:100% here:

    Code:
    #nav ul.sub1, #nav ul.sub2, #nav ul.sub3
      { position: absolute;
    	margin-left: 0em;margin-top:-1.5em;
    	border: solid #113 1px; 
    	padding: 0em 0em;
    	background: rgb(245,245,255); color:inherit;
    	width: 12em;
    	display: none;
    	left:100%
      }

  3. #3
    SitePoint Addict
    Join Date
    Apr 2003
    Posts
    332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, Paul. That corrects the problem.

    Andy


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •