[Zope-CMF] text formatting

Boddy Stephen Stephen.Boddy@btcellnet.net
Thu, 23 Aug 2001 14:17:44 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C12BD5.FE7B33C0
Content-Type: text/plain;
	charset="iso-8859-1"

Tim,

Look in portal_skins/generic/default_stylesheet, and look for:

div.Desktop p

In there you'll see it's defined with a 100pt right margin. I guess this is
just to provide consistency in the layout (i.e. your text does not flow into
the space occupied by the news box on the default site front page)

Regards
Steve

-----Original Message-----
From: Tim Fouracre [mailto:jhgfjhgfjhgfjhgf@hotmail.com]
Sent: 23 August 2001 13:52
To: zope-cmf@zope.org
Subject: [Zope-CMF] text formatting


For some reason when a member creates an html document and uses the <p> tag,

the text only spreads out to about 80% of the page, however when the <br> 
tag is used or a list is made, the text spreads out the full 100% of the 
page as should be the case.

I've searched relevant dtml methods such as standard_header and 
document_view, but cannot find the answer. Short of replacing all <p> tags 
with <br>, can anyone suggest what may be happening here?

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests


**********************************************************************
This email and any attachments may be confidential and the subject of 
legal professional privilege.  Any disclosure, use, storage or copying 
of this email without the consent of the sender is strictly prohibited.
Please notify the sender immediately if you are not the intended 
recipient and then delete the email from your inbox and do not 
disclose the contents to another person, use, copy or store the 
information in any medium. 
**********************************************************************

------_=_NextPart_001_01C12BD5.FE7B33C0
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Zope-CMF] text formatting</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Tim,</FONT>
</P>

<P><FONT SIZE=3D2>Look in portal_skins/generic/default_stylesheet, and look=
 for:</FONT>
</P>

<P><FONT SIZE=3D2>div.Desktop p</FONT>
</P>

<P><FONT SIZE=3D2>In there you'll see it's defined with a 100pt right margi=
n. I guess this is just to provide consistency in the layout (i.e. your tex=
t does not flow into the space occupied by the news box on the default site=
 front page)</FONT></P>

<P><FONT SIZE=3D2>Regards</FONT>
<BR><FONT SIZE=3D2>Steve</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Tim Fouracre [<A HREF=3D"mailto:jhgfjhgfjhgfjhgf@h=
otmail.com">mailto:jhgfjhgfjhgfjhgf@hotmail.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: 23 August 2001 13:52</FONT>
<BR><FONT SIZE=3D2>To: zope-cmf@zope.org</FONT>
<BR><FONT SIZE=3D2>Subject: [Zope-CMF] text formatting</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>For some reason when a member creates an html document an=
d uses the &lt;p&gt; tag, </FONT>
<BR><FONT SIZE=3D2>the text only spreads out to about 80% of the page, howe=
ver when the &lt;br&gt; </FONT>
<BR><FONT SIZE=3D2>tag is used or a list is made, the text spreads out the =
full 100% of the </FONT>
<BR><FONT SIZE=3D2>page as should be the case.</FONT>
</P>

<P><FONT SIZE=3D2>I've searched relevant dtml methods such as standard_head=
er and </FONT>
<BR><FONT SIZE=3D2>document_view, but cannot find the answer. Short of repl=
acing all &lt;p&gt; tags </FONT>
<BR><FONT SIZE=3D2>with &lt;br&gt;, can anyone suggest what may be happenin=
g here?</FONT>
</P>

<P><FONT SIZE=3D2>_________________________________________________________=
________</FONT>
<BR><FONT SIZE=3D2>Get your FREE download of MSN Explorer at <A HREF=3D"htt=
p://explorer.msn.com/intl.asp" TARGET=3D"_blank">http://explorer.msn.com/in=
tl.asp</A></FONT>
</P>
<BR>

<P><FONT SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Zope-CMF maillist&nbsp; -&nbsp; Zope-CMF@zope.org</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://lists.zope.org/mailman/listinfo/zope-c=
mf" TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-cmf</A></=
FONT>
</P>

<P><FONT SIZE=3D2>See <A HREF=3D"http://www.zope.org/Products/PTK/Tracker" =
TARGET=3D"_blank">http://www.zope.org/Products/PTK/Tracker</A> for bug repo=
rts and feature requests</FONT>
</P>

<CODE><FONT SIZE=3D3><BR>
<BR>
**********************************************************************<BR>
This email and any attachments may be confidential and the subject of <BR>
legal professional privilege.  Any disclosure, use, storage or copying <BR>
of this email without the consent of the sender is strictly prohibited.<BR>
Please notify the sender immediately if you are not the intended <BR>
recipient and then delete the email from your inbox and do not <BR>
disclose the contents to another person, use, copy or store the <BR>
information in any medium. <BR>
**********************************************************************<BR>
</FONT></CODE></BODY>
</HTML>
------_=_NextPart_001_01C12BD5.FE7B33C0--