View Full Version : Safari Centre Problem

Jun 4th, 2010, 03:18 AM
Hi Guys,

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.

Any clues?

P.S. not sure if this is a Javascript question, but I'll ask anyway: how come when I first load the page the bottom half of the screen is white, instead of the specified background color? Once I refresh the page it works (it also corrects itself once you use the Fancy Box script when you click the pictures etc.)...but whenever you go to the page, after visiting another, the same problem occurs.

Thanks guys

Page URL: http://thenativedrum.com/practice/

Jun 4th, 2010, 04:59 AM
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">

Jun 4th, 2010, 05:05 AM
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.

Jun 4th, 2010, 05:14 AM
Your right. My bad.