perezf Posted September 18, 2006 Share Posted September 18, 2006 I am currently redesigning a sitei have made the site layout using all css, but have come accross a problemin I.E. the border work on each side of the mainbody partbut in firefox it does noti noticed when i add a height to the mainbody the borders go down until the height i specifyhow can i make it work without the specified heighthttp://2fr3sh.com/new/index.htmlcheck it out Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted September 18, 2006 Share Posted September 18, 2006 As you are using floats, you will want to clear them So add[code]<br style="clear:both" />[/code]After:[code]<div id="footer">Copyright 2fr3sh Designs.2001-2006 </div>[/code]The border should now continue all theyw ay down to the footer. Quote Link to comment Share on other sites More sharing options...
perezf Posted September 18, 2006 Author Share Posted September 18, 2006 thank you thank you thank you Quote Link to comment Share on other sites More sharing options...
obsidian Posted September 18, 2006 Share Posted September 18, 2006 [quote author=wildteen88 link=topic=108525.msg436724#msg436724 date=1158606900]As you are using floats, you will want to clear them So add[code]<br style="clear:both" />[/code]After:[code]<div id="footer">Copyright 2fr3sh Designs.2001-2006 </div>[/code]The border should now continue all theyw ay down to the footer.[/quote]check out this [url=http://www.positioniseverything.net/easyclearing]clearfix class[/url] that will let you clear your floats without structural markup. it's typically a better alternative than having to add in <br /> tags or spacer divs when you're looking into this type of problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.