Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Bars all the way, but content in the middle Re: [Solved] Bars all the way, but content in the middle

#71024
tafkanator
Participant

ok. here is what i did. You still have to change code, place right widths, take my green background away and so on..

Code:





Kurdish Forum

image of a city

Sample Blog Entry

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

Page 1 of 25


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! :)