[Zope-CMF] inserting color into a table in a cmf type document

Norman Khine khine@bmpublications.co.uk
Wed, 2 May 2001 10:40:33 +0100


Hello,
I tried to insert a an html document created in macromedia dreamweaver into
the Portal as follows
############################################################################
#############################
#<table border="0" cellspacing="0" width="100%">
# <tr>
 #   <td>
#      <p align="center"><font face="Verdana, Arial, Helvetica, sans-serif"
color="#024929" size="5"><b>TITLE</b> </font></p>
#    <div align="left">
#        <p align="center"><font size="-2"
#    face="Verdana, Arial, Helvetica, sans-serif"><b><img
src="AdrianImages/flocareltd.jpg"
#    width="200" height="145" align="right"></b></font> <strong><font
size="-1" face="Verdana, Arial, Helvetica, sans-serif">#Second Title
</font></strong></p>
#      </div>
#      <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Some
blurb .......
#        </font></p>
#      <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">More
Blurb.......</font></p>
#      <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Even
more blurb ....</font></p>
#      <p align="center"><font size="-2" face="Verdana, Arial, Helvetica,
sans-serif"><strong><font size="-1">Name</font>
#</strong><font size="-1"><br>
#        Address1<br>
##        Address2<br>
##       Address3<br>
#        Address4<br>
#        PostCode<br>
#        Tel: 01202
601050&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#        Fax: 01202 605510</font></font> </p>
#    <p align="center"><a href="mailto:e-mail"><font size="-1"
#    face="Verdana, Arial, Helvetica, sans-serif"><b>PersonName</b>
</font></a></td>
#  </tr>
#</table>
#
############################################################################
#####################################


OK, this can import, but what happens is if I add the tag for page color
such as <body bgcolor="ffffcc"> the zope server crashes.

I suppose it is getting confused with the actual page's background color.
And if I include the <bgcolor="ffffcc"> in the table properties, which
reneders correctly when called straight from the file on the browser, but it
does not renders properly when it is imported into the CMF.

What I get is that some of the table color changes to the yellow, but where
the text areas are it shows the background as white, which is the cmf'c back
ground color.

Please excuse this if it is my lack of html knowledge and have not done this
correctly and please tell me if it is a bug in rendering html documents
which have different color embeded within them.

And if there is some special tags I have to use to enclose the table so that
it can use its own back ground color.

Thanks

Norman

=========================================
"Eternity is Time
Time, eternity
To see the two as opposite
Is Man's Perversity"

The Book of Angelus Silesius