3 replies [Last post]
paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 8 years 36 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

I am testing my newer version of my site through browsercam and IE 5.0 is giving me a margin/padding for the content area of the page as shown here: http://www.browsercam.com/public.aspx?proj_id=11513

View the first picture of the screen shots and you will see what I mean or the original page here: http://www.techsatcomputers.com/index5.htm

Does anyone have any ideas whats going on ?

Here is the style I have used for the content area:

#middlebox {
	margin: 0 160px;
	white-space: normal;
	border-left: 2px solid #000;
	border-right: 2px solid #000;
	padding: 10px;
	background-color: #FDFDE9;
	color: #820;
}

http//melbourne.ug.php.net

KnightWolfJK
KnightWolfJK's picture
Offline
Enthusiast
Washington, DC
Last seen: 14 years 31 weeks ago
Washington, DC
Timezone: GMT-5
Joined: 2003-06-10
Posts: 210
Points: 0

Not sure, but...

Maybe IE 5 is picking up on the padding: 10px?

What about
padding: 0px 10px 10px 10px; ??

Diplomacy is the art of letting someone have your way

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 8 years 36 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

Re: Not sure, but...

KnightWolfJK wrote:
What about
padding: 0px 10px 10px 10px; ??

But wouldn't that spoil the padding for all the other browsers ? I was thinking there might be a hack similar to the box model hack ?

http//melbourne.ug.php.net

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 8 years 36 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

IE 5.0 leaves Top padding

Could this be my issue ?: http://joe.sameperson.net/css/margin.php

http//melbourne.ug.php.net