SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jul 2006
    0 Post(s)
    0 Thread(s)

    Question Column Fixed but needs to clear above one? Help!

    I have done this.

    It has 2 rows down the left but i only want the lower one to be fixed so when you scroll down the page it stays there.

    However, when i tell it to be fixed it just overlaps the content above which i dont want fixed.

    I have tried to clear it but its not playing ball.

    Any ideas?

    Many thanks

  2. #2
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    0 Post(s)
    0 Thread(s)
    Give div#navbar bottom:20px and left:0.

    The clear and float properties are useless on an element that you've removed from the document flow by giving it position:absolute or position:fixed.

    What happens if the viewport is shorter than yours or the font-size is larger? Fixed position causes problems if you don't use it very carefully.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.


Posting Permissions

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