Solved

Unwanted margins in Safari

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

729 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