Solved

word-wrap: none?

Posted on 2006-11-18
2
1,433 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Logo Problem. 2 26
manage footer size 4 72
Adding bootstrap to only Content page and NOT master page 1 49
CSS Header Navigation Not Responsive 4 29
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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 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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

809 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