Solved

word-wrap: none?

Posted on 2006-11-18
2
1,436 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

733 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