Log in

View Full Version : Safari problem - it wants to add padding



envisioning
02-20-2009, 02:58 AM
I'm currently experiencing a problem with Safari. If you check the link below in both Safari and Firefox, you will notice that Safari as pushed the left panel over to the right by about 20px.

http://www.enzymedjango.com/spot/by-group/surf/

Any assistance is much appreciated.

bluewalrus
02-20-2009, 06:01 AM
i had a similar prob with safari except it was pushing down.
Putting this in as the first thing in the first sheet may fix it. This sets the default paddings and margins to zero as oppesed to letting each browser use its defaults.

* {
margin:0;
padding:0;
}

envisioning
02-20-2009, 07:04 AM
Thanks for the tip, but unfortunately it didn't work... :(

Snookerman
02-20-2009, 07:18 AM
You seem to have forgotten to close some elements, or closed them in the wrong order:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fenzymedjango.com%2Fspot%2Fby-group%2Fsurf%2F (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fenzymedjango.com%2Fspot%2Fby-group%2Fsurf%2F)
Fix those errors and the problem might disappear.

Good luck!