[thelist] CSS - Wrapping within a div

James Aylard webmaster at equilon-mrc.com
Tue Apr 23 10:14:01 CDT 2002


Joshua,

> <body>
> <div><img1><img2><img2></div>
> </bod>
>
> It is coded with absolutely zero whitepace.  When the browser window is
> narrowed, the later images jump to the next line.  Is there anyway to keep
> the div from wrapping using cross-browser css?

<style type="text/css">
  div {
    white-space: nowrap ;
  }
</style>

http://www.w3.org/TR/REC-CSS2/text.html#propdef-white-space

James Aylard




More information about the thelist mailing list