[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1458
  • Last Modified:

word-wrap: none?

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
jmarkfoley
Asked:
jmarkfoley
1 Solution
 
VoteyDiscipleCommented:
Would white-space: nowrap;   do what you want?
0
 
jmarkfoleyAuthor Commented:
That did it! I couldn't find that for love nor money ... points, maybe.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now