CSS float in author

<oXygen/> general issues.
corck
Posts: 2
Joined: Tue Nov 25, 2008 7:27 pm

CSS float in author

Post by corck » Tue Nov 25, 2008 7:30 pm

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

corck
Posts: 2
Joined: Tue Nov 25, 2008 7:27 pm

Re: CSS float in author

Post by corck » Tue Nov 25, 2008 10:07 pm

I just realized that ALL float values are NOT supported.

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

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: CSS float in author

Post by sorin_ristache » Wed Nov 26, 2008 12:49 pm

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

Oleksii
Posts: 51
Joined: Wed Jul 19, 2017 6:04 pm
Location: Austria
Contact:

Re: CSS float in author

Post by Oleksii » Thu Jun 27, 2019 6:48 pm

So it seems still not to be implemented :)
Are there any other ways to place multiple divs next toe ach other?

sorin_carbunaru
Site Admin
Posts: 259
Joined: Mon May 09, 2016 9:37 am

Re: CSS float in author

Post by sorin_carbunaru » Mon Jul 01, 2019 3:10 pm

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

Post Reply