Forums
This topic is locked
pre-formatted text and a table cell
Posted 19 Jul 2001 23:23:54
1
has voted
19 Jul 2001 23:23:54 Brian Compton posted:
I'm trying to display pre formatted text in a table cell. Problem is, when an article is submitted to the database, there are no hard returns so the text is displayed super long and resizes the table. Is there a way to "l0ck" the size of the table or a way in the form submit to add breaks every x number of characters? ANy help would be greatly appreciated, thanks.Replies
Replied 20 Jul 2001 10:34:18
20 Jul 2001 10:34:18 Waldo Smeets replied:
When you select the table and open the properties inspector can can specify a width for a table cell. That is the best way to get the desired result.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Replied 20 Jul 2001 15:06:10
20 Jul 2001 15:06:10 Brian Compton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
When you select the table and open the properties inspector can can specify a width for a table cell. That is the best way to get the desired result.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Yea, I tried that already. It seems that when you use preformatted text it will resize the table as it sees fit. Here's the skinny: a user can submit an article using a form, when they are typing or cut/paste into the text field, the text wraps automatically to fit in the box of course. But unless there's an actual hard return, the text is seen as one long line. So if I use "paragraph" for the text format the user's returns and indents are lost. If I use "preformatted" the text is ran in a single line until a hard return is encountered. I was hoping to find a way to continue to use preformatted but give the table the ability to not resize but to wrap the text instead.
When you select the table and open the properties inspector can can specify a width for a table cell. That is the best way to get the desired result.
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Yea, I tried that already. It seems that when you use preformatted text it will resize the table as it sees fit. Here's the skinny: a user can submit an article using a form, when they are typing or cut/paste into the text field, the text wraps automatically to fit in the box of course. But unless there's an actual hard return, the text is seen as one long line. So if I use "paragraph" for the text format the user's returns and indents are lost. If I use "preformatted" the text is ran in a single line until a hard return is encountered. I was hoping to find a way to continue to use preformatted but give the table the ability to not resize but to wrap the text instead.
Replied 20 Jul 2001 15:23:37
20 Jul 2001 15:23:37 Waldo Smeets replied:
Check this FAQ: www.udfaq.com/theanswer.asp?QuestionReference=40
I think that is yur problem, isn't it?
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
I think that is yur problem, isn't it?
Waldo Smeets - www.UDzone.com Webmaster
------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
------------------------------------------
Replied 20 Jul 2001 15:33:13
20 Jul 2001 15:33:13 Brian Compton replied:
Actually I just solved it, and it's much easier than that. It has to do with the textarea in the form used to submit an article. You have to set the WRAP property to HARD. DreamweaverUD doesn't have that option, it has physical, which isn't fully understood by IE. So setting the wrap value to hard tells the form to submit a hard return at the end of each line. I was overthinking the problem. Thanks.