Previous Message
Next Message

div horizontal allocated space

Sent by Bob Easton on 6 November 2004 11:11


Fabien Meghazi wrote:

> A div takes all the space that it can afford.
> How can I tell a div that it should only take the space that it's
> inner elements are using ?
> 
Set a width attribute to limit the div's width to the portion of the 
layout you want it to occupy.

-- 
Bob Easton
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
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: