hm please post the right solution then! greetings richard
-----Ursprüngliche Nachricht----- Von: Christian Stocker [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. November 2005 15:54 An: [email protected] Betreff: Re: AW: Image Alignment Solution for BXE On 24.11.2005 15:31 Uhr, Richard Schottdorf wrote: > I tried with more than one object and it worked fine... Yeah, it works, but it's still wrong :) chregu > > richard > > -----Ursprüngliche Nachricht----- > Von: Christian Stocker [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 24. November 2005 15:25 > An: [email protected] > Betreff: Re: Image Alignment Solution for BXE > > > > On 24.11.2005 15:20 Uhr, Richard Schottdorf wrote: > >>Image Alignment in BXE: >> >>This mail is for everybody having problems to get the image-alignment > > fixed > >>in BXE: >> >>1. Get the Object-Attribut 'ID' for your ojects/images in BXE: > > > you are aware of the fact, that you only can have one id attribute with > the same value for an html document? (yeah, you can have more, but it's > not valid then :) ) > > The Uni Zurich had a nicer solution for this. It goes along the same > lines, but uses a different attribute. Maybe they can post their > "patches" here. > > chregu > > >>Go to xslt/xhtml2xhtml.xsl. >>Copy and paste something like >> >><xsl:if test="string(@width)"> >><xsl:attribute name="width"> >><xsl:value-of select="@width"/> >></xsl:attribute> >></xsl:if> >> >>Replace it with @id and save! >> >> >>2. Allow BXE to use the ID-Attribute for objects >> >>Go to /build/lenya/webapp/lenya/resources/ >>misc/bxeng/contextmenu.xm >> >>Make sure that the ID-Attribute is allowed for Objects in BXE. > > > >> >>3. Create CSS-Style! For example: >> >>#right { >> text-align: left; >> float: right; >> margin-right: "10px"; >> } >> >>#left { >> text-align: left; >> float: left; >> margin-left: "10px"; >> } >> >>Use margin instead of padding, it's understood by Mozilla and IE. >> >>That's it! >> >>Greetings >>Richard >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] > > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [EMAIL PROTECTED] | GPG 0x5CE1DECB --------------------------------------------------------------------- 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]
