[CPS-devel] How to remove <div style="clear:both"></div>

JoseLuis de la Rosa Triviño joseluis.rosa at iavantefundacion.com
Wed Apr 12 09:12:26 CEST 2006


Hello,

In our project, we have received a design (html, css and images) from another company and now we have to make cps to look exactly the same as that graphic design. We find it difficult to do it with CPSSkins because some styles overlap our original styles (like those that are defined as html tag attribute).
Finally, we decided to modify the automatic generation of html code so that we get just the strictly necessary html code.

However, if anybody has ever faced a similar problem I'd be grateful to hear about their choice or any other solution.

I've removed <div style="clear:both"></div> from portal_skins/cpsskins_cmf/cpsskins_portlet_manage_lib but it still goes on being in the final html code.

Thank you very much.

JoseLuis de la Rosa Triviño 
Becario Área de Sistemas de Información 
FUNDACIÓN IAVANTE 
joseluis.rosa at iavantefundacion.com 
Tel. 951 015 300 


Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE.

This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.



-----Mensaje original-----
De: Jean-Marc Orliaguet [mailto:jmo at ita.chalmers.se] 
Enviado el: martes, 11 de abril de 2006 15:35
Para: JoseLuis de la Rosa Triviño
CC: cps-devel at lists.nuxeo.com
Asunto: Re: [CPS-devel] How to remove <div style="clear:both"></div>

JoseLuis de la Rosa Triviño wrote:

> Hello,
>
>  
>
> I have noticed that after the html code of some group boxes there is a 
> line like this <div style="clear:both"></div>.
>
> I would like to remove this line but I can't find where it's 
> generated. I've been looking at CPSSkins/PortalBoxGroup.py (method 
> render_cache), cpsskins_lib.pt, cpsskins_main_template_tableless.pt.
>
>  
>
> Does anybody know where can I find it? And why is it useful?
>
>  
>
> Thank you very much.
>

Why is that a problem? if you remove it I'm sure something will break in 
the rendering of the page.
/JM
**


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.