Declare width of a table cell

M

Mr. x

Hello,
How can I declare the maximum width of the current cell ?
(By tags)

I have the following :

<table dir = "rtl" id = "" >
<tr>
<td>*</td>
<td>long_verb aaaaaaaaaaaaaaaaaabbbbbbbbbb cccc dd</td>
</tr>
</table>

I want that the long_verb will be in one line, please (and maybe I declare a
fixed big enough width, that the verb will be in one line, but I have tried
: <td width = 400> and this doesn't work ).

What that happens is that the long_verb splited to several lines.

Thanks :)
 
H

Hywel Jenkins

Hello,
How can I declare the maximum width of the current cell ?
(By tags)

I have the following :

<table dir = "rtl" id = "" >
<tr>
<td>*</td>
<td>long_verb aaaaaaaaaaaaaaaaaabbbbbbbbbb cccc dd</td>
</tr>
</table>

I want that the long_verb will be in one line, please (and maybe I declare a
fixed big enough width, that the verb will be in one line, but I have tried
: <td width = 400> and this doesn't work ).

What that happens is that the long_verb splited to several lines.

You could try
<td nowrap>long_verb</td>
but it's not recommended. There are reasons why the content is wrapped.
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top