Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
Thread: Safari Centre Problem
06-04-2010, 03:18 AM #1
- Join Date
- May 2010
- Thanked 0 Times in 0 Posts
Safari Centre Problem
Im trying to figure out why Safari isn't centering my main content <div>. Chrome and FF both display the page correctly - but for some reason Safari throws that main content box right over to the far right.
Page URL: http://thenativedrum.com/practice/
06-04-2010, 04:59 AM #2
Your missing a closing add.
1 - add </div> right before body tag. This will close the "wrapper" div.
2 - add <br clear="all" /> right before <div id="frame">
06-04-2010, 05:05 AM #3
- Join Date
- Dec 2004
- In a place far, far away...
- Thanked 1,043 Times in 1,019 Posts
You need to clear the floats for your navigation. Add clear:both to #frame. Yes as said above close your #wrapper but don't add the br tag suggested. There is no need for it and don't use clear="all". That attribute is deprecated and the br creates unneeded space.
Last edited by _Aerospace_Eng_; 06-04-2010 at 05:08 AM.
06-04-2010, 05:14 AM #4
Your right. My bad.