Previous Message
Next Message

Re: [css-d] Visual formatting trick

Sent by Adam Kuehn on 4 April 2003 19:07


At 10:11 AM -0800 4/4/03, Jeff Shepherd wrote:
>I just cam across a somewhat cool visual formatting.  The text is in 
>a white box with a black border and behind it is a grey box, 
>narrower and taller.
>
>Can it be done with nested DIVs, the inner one having a width wider 
>than the containing one?  Of course as I experiment the containing 
>DIV expands to accommodate the inner DIV. Or does this have to be 
>done with three serial DIVs?

Did you try floating the wider box?  If you use negative edge 
positioning, you should be able to achieve that effect (he said, with 
absolutely no testing).

-- 

-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: