Float left with relative positioned list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KeredDrahcir
    Contributor
    • Nov 2009
    • 426

    Float left with relative positioned list

    I want to create a navigation menu using list items. To get the main menu looking the way I want I need to include
    Code:
    position: relative;
    However, when I do this, the sub menu that is an li ul starts from below that list item, but I want it floated to the left.
    Is there way to acheive this?
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Need the complete markup or a link........... ....

    Comment

    • KeredDrahcir
      Contributor
      • Nov 2009
      • 426

      #3
      Is there a paddiing issue in IE 7? If I have three dinisions in IE* I have the first one with float left and it appear at the very left of the container. If I use compatibility view it is about 10 pixels over which means the right hand one overlaps.
      Is there an issue in IE7?

      It works if I used float: lef but screws it up in IE 8.

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        IE8 does not work like IE7 which doesn't work like IE6 and none of those work like IE9 and all of those don't work like any of the other far more modern browsers. You can't trust IE to do anything right.

        Comment

        • KeredDrahcir
          Contributor
          • Nov 2009
          • 426

          #5
          I know what you mean.i HATE IE. It's just that most people use that so you have to develop for it. I use Firefox. It's bad enough having to deal with IE not behaving its slef but then we have to deal with different versions.

          Is padding a known bug in IE7?

          Comment

          • drhowarddrfine
            Recognized Expert Expert
            • Sep 2006
            • 7434

            #6
            IE7 altogether is a known bug but without a link or the complete markup, I'm only guessing at your problem. Padding should not be an issue.

            Comment

            • KeredDrahcir
              Contributor
              • Nov 2009
              • 426

              #7
              Ive sorted it out now. It shouldn't have happened but taking out the auto left and right margin, I fixed it.
              10:00 Capture IE
              10:15 Torture IE
              11:00 Kill IE

              Comment

              Working...