FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


CSS Text Wrapping





Kelcey
Hey everyone,


I'm kinda curious about how when I use CSS for my text, it does an auto-wrap when I resize the window.


Say I have text on the far right of the screen (out right) such as:

"Hey yo what up"

If I click and drag the right side of the window, it'll wrap the words around the right side of the window until it looks something like:

"Hey
yo
what
up"

Is there a way to turn off the text wrapping from the side of the window? I have a regular table with no CSS and it doesn't wrap with the right side of the window. Thanks!
Kelcey
ah crap... found it. I doubt anyone is looking for it, but if they wanna know... use it like this


p
{
white-space : nowrap;
}
Related topics
Angoli arrotondati con i CSS (senza tabelle)
css + html
Tutorials
Okay, I'm done trying to use CSS for layout.
[java scripts] Text effect , img ....
CSS- Text size
CSS: text indent and floated images
Compatibility among IE, Firefox and Opera
WEb page good design
IMG in CSS and HTML
Which Appllication have you recently downloaded?
D Programming Language -- a simple example
Internet Explorer 10 Release Preview available for Windows 7
Freebie #1: Shock Icon Font
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.