RES: [Plone-UI] How to add text on a background image in Plone Content area

Andre Nogueira andre at simplesconsultoria.com.br
Wed Dec 19 10:58:19 UTC 2007


Content area is a place for content, not for setup presentation definitions.
Kupu cleans all this tags you put on your table.
Try to use CSS to do this.

You can do something like that:

<table class="my-table">  .....  </table>

And add to your ploneCustom.css all the format info:
.my-table {
	Width: 100%;
	Weight: 600px;
	background: url(mybackgroundimage.jpg);
}

Andre Nogueira
andre at simplesconsultoria.com.br
Simples Consultoria - Tecnologia + Humana
www.simplesconsultoria.com.br
Tel. (11) 3898-2121

-----Mensagem original-----
De: ui-bounces at lists.plone.org [mailto:ui-bounces at lists.plone.org] Em nome
de saraswatee
Enviada em: quarta-feira, 19 de dezembro de 2007 02:45
Para: ui at lists.plone.org
Assunto: [Plone-UI] How to add text on a background image in Plone Content
area


Hi all, 
Pls help me to add text on a background image in the content area. I have
tried it using html <table> and <div> tags. Although it works fine in IE,
when I put the codes in Plone it filters the 'background' tag. I removed the
HTML filtering option in KPU, still its not working. Even tried putting the
codes in Plone Custom.css, but failed to get the result. Sometimes I can
view it in the edit mode, but goes away in view mode.

Why plone is not taking the background code as given below?

<table width="450" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<table width="100%" height="600" border="0" cellpadding="10"
cellspacing="0" background="C:\Documents and 

Settings\skashyap1\Desktop\back1.jpg"><!--DWLayoutTable-->
<tr>
<td width="10" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
<td width="330" valign="middle" class="bold">
<table border="0" align="center" cellpadding="2" cellspacing="1">
<tr>
<td width="17" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
</tr>

<tr>
<td width="330" valign="middle" class="bold">
<table border="0" align="center" cellpadding="2" cellspacing="1">
<tr>
<td>&nbsp; &nbsp; This is a test page http://namasteacs/ Namasteacs Home
Page <br />

</tr>
</table>
</td>
</tr>
</table>

-- 
View this message in context:
http://www.nabble.com/How-to-add-text-on-a-background-image-in-Plone-Content
-area-tp14370288s6746p14370288.html
Sent from the User Interface & Design mailing list archive at Nabble.com.


_______________________________________________
UI mailing list
UI at lists.plone.org
http://lists.plone.org/mailman/listinfo/ui





More information about the UI mailing list