francky on 05/11/06 02:00, wrote:
> Adam wrote:
>> I am trying to apply a graphical look to my main content divs using a 
>> set of images giving them rounded corners and shading.
>>
[snip]

> Hi Adam,
> Maybe this can be usefull?
> 
>    * 
> http://home.tiscali.nl/developerscorner/liquidcorners/liquidcorners.htm
> 
> It is without absolute positioning! :-)

OK, good, what you have is this:

<div class="top-left"></div>
<div class="top-right"></div>

<div class="inside">

<p class="notopgap">...</p>
...
<p class="nobottomgap">...</p>

</div>
<div class="bottom-left"></div>
<div class="bottom-right"></div>

and the reason for the classes on the two <p> elements is to remove the gap 
between the top box and the middle content box (see the description halfway 
down 
the page).

How about giving the top and bottom divs negative margins underneath and on top 
respectively instead?

I can't currently try out my theory because I'm at home on linux with no IE, 
but 
I'm looking at encapsulating the HTML for this in a java taglib for JSPs, and 
those classes on the <p> elements are the only things that stand in the way of 
a 
perfect solution.

regards
Adam
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to