Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with <td> tag, limiting the display and keeping it from wrapping

Status
Not open for further replies.

Maim

Programmer
Jun 25, 1999
106
CA
I'm trying to display columns in a table with a fixed width.

Example...
<td width=&quot;119&quot; title=&quot;DefaultDefaultDefaultDefaultDefault&quot; nowrap><div style=&quot;width:118;overflow:hidden&quot;>DefaultDefaultDefaultDefaultDefault</div></TD>

the above works as intended
but the following doesn't...

<td width=&quot;119&quot; title=&quot;Default Default Default Default Default&quot; nowrap><div style=&quot;width:118;overflow:hidden&quot;>Default Default Default Default Default</div></TD>

This causes the text to wrap.

Any ideas how I can fix this? -----------------------------------
&quot;Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.&quot; - Rich Cook
 
Try this for your <div>:

<div style=&quot;width:118;overflow:hidden;&quot; nowrap>

hope that helps,
mwa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top