On 7/13/06, Jesse Keller <[EMAIL PROTECTED]> wrote:
> Hi --
>
> I'm trying to make a horizontal-scrolling div that contains other divs. I
> can make a side-scrolling div containing images, but putting divs into the
> mix always forces the line to break, even with overflow-x set to "scroll".
>
> Easier to show than to explain; here's an example:
> http://www.geocities.com/jessekeller/overflow.html
>
> Any help would be greatly appreciated!

Hi, Jesse,

This is doing exactly what it should. It just isn't what you want. :-)

You can define the "white-space" property on any element you like, but
the white-space handling only applies to inline elements.[1] The divs
are properly defining new block elements. They aren't actually
wrapping, they are simply behaving like the block elements that they
are.

To fix this, you would need to define the divs as inline elements.

HTH,

Michael

[1] http://www.w3.org/TR/CSS21/text.html#q8
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to