 |
 |
URGENT: wrapping text in tables
|
 |
|
 |
|
Mac Elite
Join Date: Jul 2002
Status:
Offline
|
|
This is one of those stupid little problems that I know the answer to. Only problem is the answer is stashed somewhere in my head and I can't find it
So, in DreamWeavr MX, where can I set the text in a table to wrap? Right now I could type in there forever and just have one very long line. Yes, nowrap is off.
|
|
-"I don't believe in God. "
"That doesn't matter. He believes in you."
-"I'm not agnostic. Just nonpartisan. Theological Switzerland, that's me."
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Nov 2002
Location: underfoot
Status:
Offline
|
|
< table width = "150" > where 150 is the number of pixels wide.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jul 2002
Status:
Offline
|
|
Here is my code:
<table width="155" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5" align="left" valign="baseline" bordercolor="#CC6699" bgcolor="#FF00CC">kjkkkkcxjjjjjvcxkkjkjiijjjjj</td>
</tr>
</table>
Now if I keep typing in dreamweaver it just stretches the table. Preview it in IE: one long line.
|
|
-"I don't believe in God. "
"That doesn't matter. He believes in you."
-"I'm not agnostic. Just nonpartisan. Theological Switzerland, that's me."
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
Originally posted by invisibleX:
Here is my code:
[code[<table width="155" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5" align="left" valign="baseline" bordercolor="#CC6699" bgcolor="#FF00CC">kjkkkkcxjjjjjvcxkkjkjiijjjjj</td>
</tr>
</table>[/code]
Now if I keep typing in dreamweaver it just stretches the table. Preview it in IE: one long line.
I'm not surprised - there's no spaces. If you have a word without any spaces in it, the table is forced out wider. Try using lorem ipsum when you're doing testing so you don't get nasty surprises like that 
|
|
Computer thez nohhh...
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |