Standard behaviour in browsers, nothing to do with CSS.

If you want stuff not to wrap when there's not enough screen horizontal space, 
use  

You could also set a div to be a certain number of pixels wide:

.subtitle {
        [.. other declarations ...]
        width: 800px;
}

-Simon

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of jana coyle
> Sent: Thursday, May 10, 2007 1:13 PM
> To: css-d@lists.css-discuss.org
> Subject: [css-d] How to stop text from wordwrapping.
> 
> This has been driving me nuts. If you make the browser window 
> small (less than half of the screen) the header text will 
> wordwrap. If there are no spaces between characters then the 
> text stays put. I have add "_" and change the color to match 
> the background color. Is there any other way to make the text 
> just stay put, short of making the header an image.
> 
> Here is a link to an example.
> http://www.precisemessenger.com/private/header.html
> 
> Thanks,
> Kevin
> ______________________________________________________________________
> 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/
> 
______________________________________________________________________
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