JoseLuis de la Rosa Triviño wrote:
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.
If there is some overlap, I would rather look at the static CSS files
(./skins/CPSSkins/cpsskins_common-css2.css.dtml
./skins/CPSSkins/cpsskins_common.css.dtml and
./skins/cps_styles/default.css.dtml) than trying to change the code used
by the rendering engine.
<div style="clear:both"></div> is used to clear horizontal floats in slots. In
any case it is completely invisible.
anyway you can check:
skins/cpsskins_cps3/cpsskins_portlet_manage_lib
but you won't be able to use horizontal layouts in slots (lots of themes will
break).
/JM
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel