4 replies [Last post]
cragcrawler
Offline
newbie
Washington State
Last seen: 13 years 46 weeks ago
Washington State
Joined: 2007-08-08
Posts: 3
Points: 0

Ok this is my first post and I have a question regarding margin differences between FF and IE. I have done multiple searches in Google as well as here to find a solution to my problem. I am really new to CSS so any help would be greatly appreciated. I have all margins and paddings set to 0 and I still get a margin of 10px at the top of FF and no margins at the top of IE. I have removed all non-relevant code to be easier on the eyes.

The css code:

body
{
background: #c0c5aa url(/template/menustrech_sliver.gif) repeat-x ;
font-family: Verdana, Arial;
font-size: 11px;
color: #ffffff;
margin:0px;
padding:0px;
text-align: center;
}

#welcome
{
Padding: 3px 0px 0px 5px;
font-size: 10px;
font-weight: bold;
background: #000;
text-align:left;
}

#aboutText
{
Padding: 3px 0px 0px 5px;
font-size: 7pt;
background: #003057;
text-align:left;
}

#container
{
width:751px;
margin:0px auto;
text-align:left;
padding:0px;
}

The HTML:




<-- IMG removed for sake of space -->















thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 13 weeks 4 days ago
Joined: 2004-06-30
Posts: 9674
Points: 810

Incomplete DTD. Let's get

Incomplete DTD. Let's get that fixed first Wink

Verschwindende wrote:
  • CSS doesn't make pies

cragcrawler
Offline
newbie
Washington State
Last seen: 13 years 46 weeks ago
Washington State
Joined: 2007-08-08
Posts: 3
Points: 0

Fixed DTD and it which gave

Fixed DTD and it gave me other problems but I can fix those with ease. Still didnt help my problem.

cragcrawler
Offline
newbie
Washington State
Last seen: 13 years 46 weeks ago
Washington State
Joined: 2007-08-08
Posts: 3
Points: 0

nevermind I figured it out.

nevermind I figured it out. I just repositioned my div's and it somehow took care of it.

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 13 weeks 4 days ago
Joined: 2004-06-30
Posts: 9674
Points: 810

Glad you got it fixed,

Glad you got it fixed, thanks for letting us know Wink

Verschwindende wrote:
  • CSS doesn't make pies