Solved

word-wrap: none?

Posted on 2006-11-18
2
1,423 Views
Last Modified: 2006-11-18
I'm looking for what I thought would be an easy style definition. I want to designate a particular column of a table to NOT wrap. I looked for something like <colgroup nowrap> but of course nowrap is not an attribute. So I thought of <colgroup style="word-wrap: none"> or something like that, but I can only find 'normal' and 'break-word' as attributes. Normal means wrap on word boundaries (whitespace) and break-word mean break in the middle of a word if need be. I don't find an attribute for no-wrap (in addition to trying 'none' I also tried 'nowrap', 'no-wrap' and 'void', just for the heck of it).

Is there such an attribute? Is there some other way to accomplish what I want?
0
Comment
Question by:jmarkfoley
2 Comments
 
LVL 19

Accepted Solution

by:
VoteyDisciple earned 500 total points
ID: 17971362
Would white-space: nowrap;   do what you want?
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 17972240
That did it! I couldn't find that for love nor money ... points, maybe.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now