Solved

Unwanted margins in Safari

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Asp in script 6 37
Using Specialized Fonts in CSS 1 23
Are these icons a web font? 3 21
Selenium: Transitioning from unit testing to automated testing 4 22
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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
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.

856 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