Text wrapping

User 440382 Photo


Trial User
3 posts

When I insert a text box and type in my text -- it looks fine on the web. But, when I print it out, it is not text wrapped. There are lines where there shouldn't be. How do I prevent that?

Thank you in advance.
User 122279 Photo


Senior Advisor
14,461 posts
Online Now

Which CoffeeCup programme are you talking about?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 440382 Photo


Trial User
3 posts

Visual Site Designer.
User 463058 Photo


Ambassador
1,073 posts

And can you post the url and tell us which line is the problem?
User 440382 Photo


Trial User
3 posts

http://www.cotclass.org/HelenUmphryes/default.htm
Note -- the page displays fine. But, try to print it out, and the lines are not spaced correctly. That is the problem we are having. I teach web design. I have gone to the source code and the <br>s are there, but it doesn't print correctly.
User 463058 Photo


Ambassador
1,073 posts

I added white-space:nowrap to the following styling. Give it a try.

.textstyle0 {
font-family:Verdana;
font-weight:normal;
font-style:normal;
font-size:10pt;
text-decoration:none;
color:#000000;
white-space: nowrap;
}

EDIT: I just noticed this odd code here:

<div class="Object714">
<table border=0 cellspacing=0 cellpadding=0 width=600 height=116>
<tr>
<td valign="TOP" align="left">
<div class="text-align:left;margin-left:0px;text-indent:0px;">

Notice that last div should have "style=" instead of "class=".
User 463058 Photo


Ambassador
1,073 posts

Or, if you can't make that edit because you're using VSD, I believe it allows you to insert new html into the head or body of the page. In that case, just insert this html into the head:

<style type="text/css">
.textstyle0 {
white-space: nowrap;
}
</style>

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.