Solved

Unwanted margins in Safari

Posted on 2008-10-17
4
411 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 125 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

697 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