wierd width problem with table

V

VB Programmer

I have a SIMPLE table. I'm constraining it's width to 70px. The problem is
that the cell is NOT wrapping when I type. Any ideas?

Here's the simple html...
<form id="form1" runat="server">
<div>
<table style="width: 70px">
<tr>
<td>
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
</td>
</tr>
</table>

</div>
</form>

When I view the page in Design view or preview the page I have to use the
horizonal scroll bar. Thanks...
 
G

Gunawan

I am new to .NET programming
but I think you should use style in cell and try use space wheter it wrap or
not.

<td style="width: 70px">
xxx xxx xxx
</td>

Good Luck
Gun
 
P

Patrick.O.Ige

VB Programmer give the Td a width
or look at the atrribute nowrap of TD
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top