HighDots Forums  

text wrapping issues

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss text wrapping issues in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
trev52
 
Posts: n/a

Default text wrapping issues - 11-01-2005 , 05:33 PM






I have created a template for my site and cannot seem to get the text to wrap
in the editable area. I made sure the no wrap isn't checked and am not sure
what else to try. Here is the code. Any help is appreciated.

<!-- TemplateEndEditable -->
<style type="text/css">
<!--
body {
background-color: #688DAE;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: underline;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}
body,td,th {
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
}
-->
</style>
<style type="text/css">

#dropmenudiv{
position:absolute;
border:1px solid black;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: yellow;
}
.style2 {
font-size: 10px;
color: #FFFFFF;
}
.style3 {color: #305084}
.style4 {color: #FFFFFF}
.style5 {font-size: 14px}
.style6 {font-weight: bold}
.style7 {font-size: 16px}
</style>
<?php $CSS=1; require("../calendar/calendar.php"); ?>
<script type="text/javascript" language="JavaScript1.2"
src="stmenu.js"></script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<?php $OL=1; require("../calendar/calendar.php"); ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50">&nbsp;</td>
<td colspan="3">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#53799D">
<td>&nbsp;</td>
<td height="35" colspan="3" bgcolor="#305084"><a href="../index.php"><img
src="../media/header.gif" width="700" height="35" border="0"></a></td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#53799D">
<td rowspan="4">&nbsp;</td>
<td height="0" colspan="3" bgcolor="#688DAE
<!--

&nbsp; </td>
<td rowspan="4"></td>
</tr>
<tr bgcolor="#53799D"> </tr>
<tr bgcolor="#53799D">
<td height="0" colspan="3" bgcolor="#688DAE&nbsp; </td>
</tr>
<tr bgcolor="#53799D">
<td height="125" colspan="3" align="left" valign="top"
bgcolor="#688DAE"><br>
<!-- TemplateBeginEditable name="CenterStageEditRegion" -->
<P class="style4
style7">dddddddddddddddddddddddddddddddddddddddddd dddddddddddddddddddddddddddddd
ddddddddddddddddddddddddd</P>
<!-- TemplateEndEditable --></td>
</tr>
<tr bgcolor="#53799D">
<td rowspan="3">&nbsp;</td>
<td colspan="3"></td>
<td rowspan="3">&nbsp;</td>
</tr>
<tr bgcolor="#53799D">
<td width="150" height="200" bgcolor="#305084"><div align="center">
<p> <a href="http://committoagirl.kintera.org/kawvalley/"><img
src="../media/variousImages/square_stat.gif" alt="Commit" width="106"
height="106"><br>
</a><a
href="http://www.girlscouts.net/content/SiteMap/index.php"><img
src="../media/siteMap_small_blue.png" width="100" height="20" border="0"> </a>
</p>
</div></td>
<td width="140" height="200" bgcolor="#305084"><OBJECT
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=5,0,0,0"
WIDTH=130 HEIGHT=160>
<PARAM NAME=movie VALUE="../flashnews.swf">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=opaque>
<PARAM NAME=bgcolor VALUE=#305084>
<EMBED src="../flashnews.swf" menu=false quality=high wmode=opaque
bgcolor=#305084 WIDTH=130 HEIGHT=160 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
ion=ShockwaveFlash"></EMBED>
</OBJECT>
</p>
</div></td>
<td width="410" height="200" bgcolor="#305084"><div align="center"
class="style3">
<?php require("../calendar/calendar.php"); ?>
</div></td>
</tr>
<tr bgcolor="#53799D">
<td colspan="3"><span class="style2">&lsquo;Girl
Scouts&rsquo; and
other GIRL SCOUT Trademarks
are registered trademarks
of Girl Scouts of the USA
and are used herein pursuant
to license.<br>
Copyright
2005 Girl Scouts Kaw Valley
Council. All Rights Reserved. <a href="http://www.dcstopeka.com">Designed
by DCS</a>. </span></td>
</tr>
</table>
</body>
</html>


<!-- TemplateEndEditable -->
<style type="text/css">
<!--
body {
background-color: #688DAE;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: underline;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}
body,td,th {
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
}
-->
</style>
<style type="text/css">

#dropmenudiv{
position:absolute;
border:1px solid black;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: yellow;
}
.style2 {
font-size: 10px;
color: #FFFFFF;
}
.style3 {color: #305084}
.style4 {color: #FFFFFF}
.style5 {font-size: 14px}
.style6 {font-weight: bold}
.style7 {font-size: 16px}
</style>
<?php $CSS=1; require("../calendar/calendar.php"); ?>
<script type="text/javascript" language="JavaScript1.2"
src="stmenu.js"></script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<?php $OL=1; require("../calendar/calendar.php"); ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50">&nbsp;</td>
<td colspan="3">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#53799D">
<td>&nbsp;</td>
<td height="35" colspan="3" bgcolor="#305084"><a href="../index.php"><img
src="../media/header.gif" width="700" height="35" border="0"></a></td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#53799D">
<td rowspan="4">&nbsp;</td>
<td height="0" colspan="3" bgcolor="#688DAE"><script
type="text/javascript" language="JavaScript1.2">
<!--

stm_bm(["tubtehr",600,"","blank.gif",0,"","",0,0,0,0,0,1,0 ,0,"","",0,0,1,0,"defa
ult","hand",""],this);

stm_bp("p0",[0,4,0,0,0,0,0,0,100,"",-2,"",-2,90,0,0,"#000000","transparent","",3
,0,0,"#FFFFFF"]);

stm_ai("p0i0",[2,"","girl_program.gif","girl_program_over.gif",14 0,25,0,"","_sel
f","","","","",0,0,0,"","",0,0,0,0,1,"#73A8B7",0," #B3CCD3",0,"","",3,3,0,0,"#FFF
FFF","#FFFFFF","#FFFFFF","#000000","8pt Arial","8pt Arial",0,0]);

stm_bp("p1",[1,4,0,0,0,3,0,0,100,"progidXImageTransform.Micro soft.Fade(overlap
=.5,enabled=0,Duration=0.50)",-2,"",-2,60,0,0,"#000000","#FFFFFF","",3,1,1,"#73A
8B7"]);
stm_aix("p1i0","p0i0",[0," 2005-2006 Guide to Girl
Scouting","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/0506gl
nc.pdf","_self","","","","",0,0,0,"","",0,0,0,0,1, "#EBF8FF",0,"#ACD2DD",0,"","",
3,3,0,0,"#FFFFFF","#FFFFFF","#333333","#333333"]);
stm_bpx("p2","p1",[1,2]);
stm_aix("p2i0","p1i0",[0,"Event
Registration","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/05
06reg.pdf"]);
stm_aix("p2i1","p1i0",[0,"Inscription de
Evento","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/0506regs
..pdf"]);
stm_aix("p2i2","p1i0",[0,"Scholarship
Application","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/mem
625.pdf"]);
stm_aix("p2i3","p1i0",[0,"Aplicacion de
Becas","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/mem625s.p
df"]);
stm_aix("p2i4","p1i0",[0,"Health Medical Record &amp;
Release","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/0506med
ical.pdf"]);
stm_ep();
stm_aix("p1i1","p1i0",[0,"Gold
Award","","",-1,-1,0,"http://www.girlscouts.net/content/GirlProgram/GoldAward/in
dex.php"]);
stm_aix("p1i2","p1i0",[0,"Silver
Award","","",-1,-1,0,"http://www.girlscouts.net/content/GirlProgram/SilverAward/
index.php"]);
stm_aix("p1i3","p1i0",[0,"Bronze
Award","","",-1,-1,0,"http://www.girlscouts.net/content/GirlProgram/BronzeAward/
index.php"]);
stm_aix("p1i4","p1i0",[0,"Honor Troop
Patch","","",-1,-1,0,"http://www.girlscouts.net/content/GirlProgram/HonorTroopPa
tch/index.php"]);
stm_aix("p1i5","p1i0",[0,"Outdoor Awareness
Patch","","",-1,-1,0,"http://www.girlscouts.net/content/GirlProgram/OutdoorAware
ness/index.php"]);
stm_aix("p1i6","p1i0",[0,"Proper Insignia
Placement","","",-1,-1,0,"http://www.girlscouts.net/content/GirlProgram/Insignia
Placement/index.php"]);
stm_aix("p1i7","p1i0",[0,"Studio 2B","","",-1,-1,0,"http://www.studio2b.org"]);
stm_aix("p1i8","p1i0",[0,"Girls
Only","","",-1,-1,0,"http://www.gogirlsonly.org/"]);
stm_ep();
stm_aix("p0i1","p0i0",[2,"","adult_forum.gif","adult_over.gif"]);
stm_bpx("p3","p1",[1,4,0,0,0,3,1]);
stm_aix("p3i0","p1i0",[0,"Adult
Trainings","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/adltd
ev.pdf","_self","","","","",1,1]);

stm_aix("p3i1","p3i0",[0,"Forms","","",-1,-1,0,"http://www.girlscouts.net/conten
t/Forms/index.php"]);
stm_aix("p3i2","p3i0",[0,"Girl
Programs","","",-1,-1,0,"http://www.girlscouts.net/content/Forms/GS_FORMS/0506gl
nc.pdf"]);
stm_aix("p3i3","p3i0",[0,"Contact
Us","","",-1,-1,0,"http://www.girlscouts.net/content/OurCouncil/Contact/index.ph
p"]);
stm_ep();

stm_aix("p0i2","p0i0",[2,"","forms_over.gif","forms_over.gif",140,25,0,"h ttp://w
ww.girlscouts.net/content/Forms/index.php"]);
stm_bpx("p4","p3",[]);
stm_aix("p4i0","p3i1",[0,"Membership "]);
stm_bpx("p5","p2",[]);
stm_aix("p5i0","p1i0",[0,"Girl Membership
Registration","","",-1,-1,0,"http://www.gi

Reply With Quote
  #2  
Old   
Gary White
 
Posts: n/a

Default Re: text wrapping issues - 11-02-2005 , 01:29 AM






On Tue, 1 Nov 2005 22:33:54 +0000 (UTC), "trev52"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
P class="style4
style7">dddddddddddddddddddddddddddddddddddddddddd dddddddddddddddddddddddddddddddddddddddddddddddddd ddddd</P

If you don't have any spaces in the text, the browser cannot wrap it.
The only alternative is to stretch the table wide enough to display it.

Gary


Reply With Quote
  #3  
Old   
Mick White
 
Posts: n/a

Default Re: text wrapping issues - 11-02-2005 , 10:22 AM



trev52 wrote:

Quote:
I have created a template for my site and cannot seem to get the text to wrap
in the editable area. I made sure the no wrap isn't checked and am not sure
what else to try. Here is the code. Any help is appreciated.
It will wrap if you throw in a space or a hyphen into your text.
Mick

--
Isn't it enough to see that a garden is beautiful without having
to believe that there are fairies at the bottom of it too?
[Douglas Adams]


Reply With Quote
  #4  
Old   
Gary White
 
Posts: n/a

Default Re: text wrapping issues - 11-02-2005 , 11:30 AM



On Wed, 02 Nov 2005 10:22:16 -0500, Mick White
<himselfBOGUS (AT) mickweb (DOT) com> wrote:

Quote:
It will wrap if you throw in a space or a hyphen into your text.

Adding a space will work reliably. Adding a hyphen will work in IE, but
not in Gecko browsers.

Gary


Reply With Quote
  #5  
Old   
trev52
 
Posts: n/a

Default Re: text wrapping issues - 11-02-2005 , 02:59 PM



The d's are just an example that is not what I am typing into the editable
area. It doesn't matter what I type, I always have to hit return in order for
it to go to the next line. That is a pain when you have quite a bit to type.


Reply With Quote
  #6  
Old   
Gary White
 
Posts: n/a

Default Re: text wrapping issues - 11-02-2005 , 03:26 PM



On Wed, 2 Nov 2005 19:59:58 +0000 (UTC), "trev52"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
The d's are just an example that is not what I am typing into the editable
area. It doesn't matter what I type, I always have to hit return in order for
it to go to the next line. That is a pain when you have quite a bit to type.
Then post a simple example with spaces in the content that would allow
the line to break.

Gary


Reply With Quote
  #7  
Old   
Gary White
 
Posts: n/a

Default Re: text wrapping issues - 11-02-2005 , 07:17 PM



On Wed, 2 Nov 2005 20:42:54 +0000 (UTC), "trev52"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
Everything look fine, until I look at it in the browser and then it is just one
long long without any wrapping.

What you posted is a partial code sample. I cannot copy and paste it
into DW to see what the problem is.

Gary


Reply With Quote
  #8  
Old   
Gary White
 
Posts: n/a

Default Re: text wrapping issues - 11-03-2005 , 03:23 PM



On Thu, 3 Nov 2005 20:08:04 +0000 (UTC), "trev52"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
Ok here is all the code.

That wraps just fine for me. Where are you seeing the problem,
Dreamweaver or some specific browser?

Gary


Reply With Quote
  #9  
Old   
Gary White
 
Posts: n/a

Default Re: text wrapping issues - 11-03-2005 , 04:13 PM



On Thu, 3 Nov 2005 20:55:40 +0000 (UTC), "trev52"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
If you try this code you will see how it looks. When you type anything long
in, it causes the tables to extend out further, messing up the interface.
Thanks for your help.

I'm sorry. I'm just not seeing the same thing. I type tons in the one
editable area in the body of the page and the text wraps just fine.

You DO have some rather flaky code in the page though. See this:

<tr bgcolor="#53799D"> </tr>

You cannot have a table row without having any cells in it. With the
maze of split and merged cells, it's hard to say what you were going
for, but try changing it to this:

<tr bgcolor="#53799D"><td colspan="3">&nbsp;</tr>

Gary


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.