File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes wrap Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "wrap" Watch "wrap" New topic
Author

wrap

Jackie Wang
Ranch Hand

Joined: Apr 18, 2002
Posts: 315
html question:
I want to create a table with some TR and TD
I got a string "MYSTUFFTESTINGGGGGGG(12345)"
however, it wrap when it encounter the bracket.
like this:
"MYSTUFFTESTINGGGGGGG"
"(12345)"
are there a way tell the html not to do so without changing the width of the TD?
Thanks!
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 411
<TD NOWRAP>dasda( fgdfgd ) </td>
or
<td><nobr>sdfdsdsd dfsdfs( hjg) </nobr></td>
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50673

... which of course could very well make the column wider. What did you mean by "not change the width"?
bear


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
IntelliJ Java IDE
 
subject: wrap
 
Threads others viewed
How to increase the colum width
showing resultset
How to specify nowrap in css for all columns of a table
best option for implementing form
HTML does not print properly - table width exceeding 100%?
IntelliJ Java IDE