4 replies [Last post]
wicky
Offline
Regular
Last seen: 13 years 44 weeks ago
Joined: 2006-01-10
Posts: 13
Points: 0

http://www.vikingwebdesign.nl/boerderij/index.html

it's about the image top right. it's placed inside a div. image and div have of course the same height. without the image there is no problem. But as soon as I place an image inside, a 3px bottom margin appears. In firefox no problem at all.

hope somebody can help with this frustrating problem.

Here's some code:

html

css

#bovenLinks { height: 210px; width: 219px; position: absolute; left: 20px; top: 0px; background: url(../images/linksboven2.gif) no-repeat; }

#bovenRechts {
height: 210px;
width: 480px;
margin-left: 220px;
}

#navcontainer {
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
background: #A5AE4A;
float: left;
width: 100%;
margin: 0px;
}

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 2 years 4 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Add overflow:hidden to the

Add overflow:hidden to the #bovenRechts css

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

11 posts! it's time to work

11 posts! it's time to work out how to post code Wink read the help info below posting box or read the prominant stickies on posting.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

wicky
Offline
Regular
Last seen: 13 years 44 weeks ago
Joined: 2006-01-10
Posts: 13
Points: 0

Hugo, you're right. I had to

Hugo, you're right. I had to check before posting.

wicky
Offline
Regular
Last seen: 13 years 44 weeks ago
Joined: 2006-01-10
Posts: 13
Points: 0

thanks clevaTreva for the

thanks clevaTreva for the help. So simple ...