AW: image object problem in YAML
"Dr. Frank Hoffmann" <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <B413A1AC49DB4D1A8D34C6104DFFEFA6@hal1> |
Welcome the forum,
I am not sure wether ZMS 2.11.1+
http://bscw.hoffmannliebenberg.de/pub/bscw.cgi/d454265/zms-2.11.1.tar.gz
still generates the clearfloating div....
Anyway, with a new CSS element you can 'overwrite' the clearing by using the
important rule:
---
div.ZMSGraphic div.clearfloating {clear:none; !important}
---
With 2.11 you can also write your own presentation template for the
ZMSGraphic content object (menu Configuration ::: Content Objects :::
ZMSGraphic).
I hope this will help.
Best Regards
fh, moderator
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]
Im Auftrag von Funda Kurt
Gesendet: Donnerstag, 16. Oktober 2008 12:20
An: [email protected]
Betreff: [zms-developers] image object problem in YAML
Dear members,
I am new in the forum and want to introduce myself: My name ist Funda
Kurt and I am working at the Johannes Kepler University in Linz/Austria.
I am working in the weboffice and we (my collegue Andrea and me) are
responsible for the CSS themes. In combination with ZMS we are using the
YAML-Layout.
We are using ZMS for several years. Recently we made an update to ZMS
2.11.0-34. Now we have a problem with the image-object:
In YAML you shouldn't make a global clearing in col3
(content-container). But if you take a look at the code, ZMS generates
an inline-style with the following code:
<div class="ZMSGraphic left" id="e3024">
<div class="graphic alignleft" style="width: 80px;">
<a href="http://www.bibnet.at/" target="_blank"><img
src="https://www2.jku.at/UB/content/e2786/e2582/e3024/logo_bibnet.jpg?previe
w=preview"
style="width: 80px; height: 26px; display: block;" class="img"
alt="bibNET" title="bibNET"></a>
</div>
<div style="" class="text"><p>
<a href="http://www.bibnet.at/" target="new">bibNET</a>. eine
Inititative für Öffentlichkeit<br></p></div>
<div class="clearfloating" style="clear: both;"> </div>
</div>
This global clearing (clear:both;) makes a clearing above all columns
(col1, col3, col2) and the layout doesn't appear as it should appear.
Is it possible to remove this clearing? Or what else can you/we do to
solve this problem?
BG,
Funda Kurt