Home › Forums › CSS › [Solved] Bars all the way, but content in the middle › Re: [Solved] Bars all the way, but content in the middle
ok. here is what i did. You still have to change code, place right widths, take my green background away and so on..
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit
- 5 Comments
- |
- Bookmark this article
- |
- Posted on: 17 January 2010
Short version of the change is: I created a div around sidebar and content div, gave fixed width and margin:0 auto. Because you used floats inside the div i cleared floats before the closing div. That easy! :)