Previous Message
Next Message

rounded box help in IE

Sent by francky on 28 March 2006 20:08


jeremy wrote:

>So, I am having trouble with this rounded box.
>
>I made up a simplified test page: 
>http://silencematters.com/studio/dave/kaplow/search_test.html
>
>IE is adding aroun 10px to the top and bottom images in these DIVs. Why 
>is that?
>
>any help is much appreciated
>
>Jeremy
>[and in the testpage you wrote:]
>I want to add *margin-bottom:5px;* to the paragraph tag. Why is not not expanding the DIV with it?
>  
>
Hi Jeremy,
That is because the margin is the distance to the next <div>, beginning 
at the border of the paragraph. If you want the inner space to become 
greater, you can use the padding-bottom of the paragraph. Then the space 
inside the div will expand, and there is no gap in the border line left 
and right.

Greetings,
francky

ps: In case you want to read more stuff about flexible corners (also 
horizontal extendable): article liquid corners 
<http://home.tiscali.nl/developerscorner/liquidcorners/liquidcorners.htm>.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: