?
Solved

Unwanted margins in Safari

Posted on 2008-10-17
4
Medium Priority
?
415 Views
Last Modified: 2013-12-07
http://www.designprintandmarketing.co.uk/newsite/

Hi, the site above looks fine in IE and FireFox but in Safari there is a small margin at the top and bottom of a DIV called content, which is the DIV holding the majority of page content.

My CSS code starts off with a global reset (* {margin: 0px; padding: 0px}) and the content DIV uses similar CSS to that used in some of my other sites, all of which look fine in Safari. I've stripped out all content within that DIV and the problem still occurs so I guess it must be the CSS for 'content' that's causing the problem. I just don't know what exactly!

0
Comment
Question by:labcreative
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
eszaq earned 375 total points
ID: 22741305
add to your body
      margin: 0px;
      padding: 0px;
0
 

Author Comment

by:labcreative
ID: 22741485
Thanks, that cleared the margin at the top of the div but not the one at the bottom...
0
 
LVL 8

Expert Comment

by:eszaq
ID: 22741510
could you give me a credit then? The first one? :0)
0
 
LVL 4

Expert Comment

by:nichicks
ID: 22744851
try removing the paragraph marks inside the footer id that wrap <a id="flyspecktrigger" href="javascript:switchMenu()">&copy; copyright dpm 2006-2008</a>
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question