Solved

word-wrap: none?

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Getting Column Height to Match Other Column 5 52
WordPress Themes 10 42
Crazy text will not be removed no matter what I try! 13 30
Location of Buttons 4 15
CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

832 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