apply CSS classes to HTML outputted by attribute_view_gui

apply CSS classes to HTML outputted by attribute_view_gui

Thursday 04 December 2003 3:35:15 am - 1 reply

Author Message

Björn Dieding@xrow.de

Thursday 04 December 2003 5:42:46 am

There might be a nicer way to do it...

As you propably know you can use Inheritance with CSS that should solve this in a more nicer way

<style>
.bla P {
#something nice
}
.elsebla P {
#something nice
}
</sytle>
<div calss="bla">
{attribute_view_gui some futher bla}
</div>
<div calss="elsebla">
{attribute_view_gui some futher bla}
</div>

check the w3c...

http://www.w3.org/TR/REC-CSS2/cascade.html#inheritance

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.