Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > URGENT: wrapping text in tables

URGENT: wrapping text in tables
Thread Tools
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Nov 6, 2002, 04:04 PM
 
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
Reply With Quote
Nov 6, 2002, 04:58 PM
 
< table width = "150" > where 150 is the number of pixels wide.
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Nov 6, 2002, 05:20 PM
 
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
Reply With Quote
Nov 6, 2002, 06:30 PM
 
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...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:18 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2