Antw: AW: image object problem in YAML

"Funda Kurt" <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
Dear Mr. Hoffmann,
thank you very much for your prompt answer. But unfortunately your
solution is activating another problem. A clearing is needed in the
outer-container of the image-object. But it should be a "yaml-conform"
clearing with overflow:hidden; 
But there is no "outer-container" for the image-object, so we have to
make an update to yaml 2.11.1 to make our own presentation template for
the ZMSGraphic - as you guessed. 
Best Regards,
Funda Kurt



>>> "Dr. Frank Hoffmann" <[email protected]> 10/16/08 1:12 
>>>
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;">&nbsp;</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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.