Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2009
    Posts
    51
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Safari Whitespace Error

    I'm sure there is a simple fix for this. I'm designing a new site on Tumblr's platform: www.designnewssource.com

    It works great in Firefox, but in Safari there is a little bar of whitespace across the top as shown in the attached picture -- look for the red arrow.

    Any help on how to get rid of this would be VERY appreciated. Thanks in advance!
    Attached Thumbnails Attached Thumbnails Safari Whitespace Error-dns-whitespace-safari.jpg  

  • #2
    Regular Coder BoldUlysses's Avatar
    Join Date
    Jan 2008
    Location
    Winston-Salem, NC
    Posts
    938
    Thanks
    10
    Thanked 190 Times in 187 Posts
    Add the universal reset to the top of your CSS:

    Code:
    * {
    	margin:0;
    	padding:0;
    }
    Safari adds extra margin/padding by default to certain elements, evidently.
    matt | design | blog


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •