Page 1 of 1

CSS float in author

Posted: Tue Nov 25, 2008 7:30 pm
by corck
Hi,
I am trying to get a two columns css layout in author. I did a little test that works in Firefox, however not in Author. Is there a way to achieve this. I am using the latest Oxygen 10 bundle.

XML:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="cssTest.css"?>
<root>
<left>
<content>asdfasdfasdaf</content>
</left>
<right>
<content>dsfaasdfasdfasdfa</content>
<content>dsfaasdfasdfasdfa</content>
<content>dsfaasdfasdfasdfa</content>
<content>dsfaasdfasdfasdfa</content>
<content>dsfaasdfasdfasdfa</content>
</right>
</root>

CSS:

left {
background-color:red;
float:left;
width:300px;
}


right {
background-color:#c9c;
float:right;
width:150px;
}

thanks

Re: CSS float in author

Posted: Tue Nov 25, 2008 10:07 pm
by corck
I just realized that ALL float values are NOT supported.

too bad, its really missing, to make Author a perfect xml editor

Re: CSS float in author

Posted: Wed Nov 26, 2008 12:49 pm
by sorin_ristache
Hello,

Yes, the float property is not supported yet as you can see in the table with supported and unsupported CSS properties. We will consider implementing it in a future version.


Regards,
Sorin

Re: CSS float in author

Posted: Thu Jun 27, 2019 6:48 pm
by Oleksii
So it seems still not to be implemented :)
Are there any other ways to place multiple divs next toe ach other?

Re: CSS float in author

Posted: Mon Jul 01, 2019 3:10 pm
by sorin_carbunaru
Hello,

You could try setting "position: relative" on the parent of the 'div' elements, and then use absolute positioning inside that parent for ordering the divs as you wish.

Best wishes,
Sorin Carbunaru
oXygen XML