Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Page Publisher:
Locking width of text area

 

 


face3500
New User

Feb 28, 2006, 4:08 PM

Post #1 of 7 (6011 views)
Shortcut
Locking width of text area Can't Post

I guess I need to know if I can make the WYSIWYG do something like Word Wrap. I have it (PML) set inside a table that will distort when they type a looooooong sentence. This kills the page dimenstions....and I cannot have that. Is there A way I can LOCK the width they can type or anything else?


Damon
Staff / Moderator


Mar 1, 2006, 12:09 PM

Post #2 of 7 (5969 views)
Shortcut
Re: [face3500] Locking width of text area [In reply to] Can't Post

Hi,

To have the content created with the WYSIWYG editor wrap instead of pushing out your page try is setting a maximum width to your table.

Code
 <table border="0" cellpadding="0" cellspacing="2" width="500"> 
<tr>
<td>
<!-- publish type="wysiwyg" name="Article Content" rows=10 -->
Content goes here.
<!-- /publish -->
</td>
</tr>
</table>


Any text entered in the WYSIWYG editor will then wrap at the set width.

You could also set a the width for the table data cell

Code
 <table border="0" cellpadding="0" cellspacing="2"> 
<tr>
<td width="500">
<!-- publish type="wysiwyg" name="Article Content" rows=10 -->
Content goes here.
<!-- /publish -->
</td>
</tr>
</table>


Hopefully this is what you were looking for.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/


face3500
New User

Mar 1, 2006, 2:40 PM

Post #3 of 7 (5958 views)
Shortcut
Re: [Damon] Locking width of text area [In reply to] Can't Post

I had it right all along then. The only thing is that IF they were to hold down the <SPACE> bar or a letter without using any spaces, then it will not wrap. But since this is highly unlikely then I am fine. Thanks!


john@pascoe.net
User

Oct 9, 2007, 6:49 PM

Post #4 of 7 (4560 views)
Shortcut
Re: [Damon] Locking width of text area [In reply to] Can't Post

I tried this in between some div tags and it did not work any suggestions

thanks

jj

<div class="text">

<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="200">
<!-- publish type="wysiwyg" name="Article Content" rows=10 -->
Content goes here.
<!-- /publish -->
</td>
</tr>
</table>


<div>



.text

background-repeat: repeat;
padding: 5px 0px 10px 5px;
width:235px;


Jake
Staff / Moderator


Oct 10, 2007, 12:41 PM

Post #5 of 7 (4523 views)
Shortcut
Re: [john@pascoe.net] Locking width of text area [In reply to] Can't Post

Hi John,

I think we picked this up in a support request, but if you have any other questions feel free to post them on the forum if you'd like. Smile
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


john@pascoe.net
User

Oct 10, 2007, 12:51 PM

Post #6 of 7 (4520 views)
Shortcut
Re: [Jake] Locking width of text area [In reply to] Can't Post

I am using ie7 and firfox



I can post content just fine, but it affects the layout.



in ie7 it throws of the page layout off



in firefox the text does not wrap around. just continues straight out forever



So I thought locking the text in table width might help, no luck yet. Is there a css problem that ie7 and firefox does not get or is page publisher changing something?



Thanks



jj

<div class="right-box-text">


<!-- publish type="wysiwyg" name="Volunteer" rows=10 --><!-- /publish -->


</div>

#rightcolumn {
float:right;
width:235px;
padding:5px;
background-repeat: no-repeat;

}

.right-box-text {
background-image:url(images/page_elements/right-text.gif);
background-repeat: repeat;
padding: 5px 0px 10px 5px;

}


Rawdog156
Novice

Oct 13, 2007, 5:32 PM

Post #7 of 7 (4439 views)
Shortcut
Re: [face3500] Locking width of text area [In reply to] Can't Post

THANK YOU! This is exactly the problem I was having when I first started the Page Publisher program - I have to do daily updates on my site and bottom line is I am NO good at HTML - These tables make it very simple to accomplish exactly what I needed!

such a perfect thread for me - Cool