Solved

Unwanted margins in Safari

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
jQuery or CSS 9 38
Google Chrome Notifications 2 28
Best Practice CSS floating images 2 16
Bootstrap 3 icons 3 12
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now