css help
css help
- Started
- Last post
- 4 Responses
- forcetwelve
can't work out why my sidebar is running out of my wrapper div. any help would be appreciated - i've been trying to figure this out all day!!
- Continuity0
clearfix will solve your problem
- Stugoo0
you need to clear your floats yo.
you can do this by either doing
#bg_wrapper {overflow:hidden;}or
i prefer to have a div that clears floats using this :.clear{clear:both; line-height:0px; font-size:0px; height:0px; padding:0px; margin:0px; border:none;}
put that in right before you close the #bg_wrapperd
- i think the clearfix solution above is cleaner than adding empty markupacescence
- forcetwelve0
thx guys. i always get this part screwed up. hadn't heard of the overflow - so will read up on what it's all about.
- acrossthesea0
god bless clearfix