Ahoy together,
I made it to add IDs to the Object Attributes.
Now it is possible to align floating images to the left or right.
The code in BXE should look like this:
<h1>Test</h1>
<p><object width="150" title="Lenya" type="image/gif"
data="company/lenya.gif" id="right"/>text text text text text text text text
text</p>
<p><object width="150" title="Lenya" type="image/gif"
data="company/lenya.gif" id="left"/>text text text text text text text text
text text</p>
The style sheet should look like this:
#right {
text-align: left;
float: right;
position: relative;
}
#left {
text-align: left;
float: left;
position: relative;
}
Has anyone else found a better solution so far? How is it possible to add
class attibutes to objects?
Greetings and regards
Richard
---------------------------------------
Kreutz & Schottdorf GbR
Screenwave
Richard Schottdorf
E-Mail: [EMAIL PROTECTED]
URL: http://www.screenwave.de
Thomas Hartwig wrote:
> Ok. I found this one in "lenya/pubs/myproject/xslt/xhtml2xhtml.xsl" and
> have added the align attribute there.
another (superior) option is to define css classes that achieve this.
the align attribute is not supported in xhtml strict.
--
Gregor J. Rothfuss
Wyona Inc. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]