SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Sep 14, 2007, 03:43 #1
- Join Date
- Jul 2006
- Posts
- 379
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Sep 14, 2007, 05:03 #2
- Join Date
- Mar 2005
- Location
- USA
- Posts
- 5,482
- Mentioned
- 0 Post(s)
- Tagged
- 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.
Bookmarks