CSS float in author
Oxygen general issues.
-
- Posts: 2
- Joined: Tue Nov 25, 2008 7:27 pm
CSS float in author
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
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
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: CSS float in author
Post 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
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
-
- Posts: 84
- Joined: Wed Jul 19, 2017 6:04 pm
- Location: Austria
- Contact:
Re: CSS float in author
So it seems still not to be implemented 
Are there any other ways to place multiple divs next toe ach other?

Are there any other ways to place multiple divs next toe ach other?
Kind regards,
Oleksii Sapov-Erlinger
Oleksii Sapov-Erlinger
-
- Posts: 416
- Joined: Mon May 09, 2016 9:37 am
Re: CSS float in author
Post 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
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
-
- Posts: 2
- Joined: Mon Jul 12, 2021 5:04 pm
Re: CSS float in author
CSS float (or better flex !) seems not implemented yet 
We are developping a CSS to edit comic books textual content in Oxygen (CBML TEI extension). Would be very nice to let div flows !
Attached desired result sample (achieved with XSLT + CSS flex)
Is it in your plans?
Thank you in advance for your help!
(BTW the link to supported CSS properties is broken)

We are developping a CSS to edit comic books textual content in Oxygen (CBML TEI extension). Would be very nice to let div flows !
Attached desired result sample (achieved with XSLT + CSS flex)
Is it in your plans?
Thank you in advance for your help!
(BTW the link to supported CSS properties is broken)
You do not have the required permissions to view the files attached to this post.
-
- Posts: 416
- Joined: Mon May 09, 2016 9:37 am
Re: CSS float in author
Post by sorin_carbunaru »
Hello,
I added your feedback to a couple of feature requests that we already had recorded for float and flex.
As for the future plans, I'm sorry, but I don't have an answer. Our team manager is on vacation, but he will be back soon. And when he does, he might have a better answer.
As for the broken link, that post is from over a decade ago. The up-to-date URL is this one: https://www.oxygenxml.com/doc/versions/ ... pport.html.
All the best,
Sorin Carbunaru
Oxygen XML Editor
I added your feedback to a couple of feature requests that we already had recorded for float and flex.
As for the future plans, I'm sorry, but I don't have an answer. Our team manager is on vacation, but he will be back soon. And when he does, he might have a better answer.
As for the broken link, that post is from over a decade ago. The up-to-date URL is this one: https://www.oxygenxml.com/doc/versions/ ... pport.html.
All the best,
Sorin Carbunaru
Oxygen XML Editor
-
- Posts: 9421
- Joined: Fri Jul 09, 2004 5:18 pm
Re: CSS float in author
Hi,
I'm afraid we do not have a specific timeline for implementing CSS float or flex layouts. The Oxygen desktop has its own CSS rendering engine which is intended mostly for supporting basic CSS features which are usually enough for editing, but indeed we might not be able to render the XML document exactly as it will look like when published.
There is an Oxygen WebAuthor (in browser web editing tool):
https://www.oxygenxml.com/oxygen-xml-we ... xygen.html
I'm not sure if it also supports these features but in time maybe this support would be easier to add there as it uses the web browser directly as the rendering engine.
Regards,
Radu
I'm afraid we do not have a specific timeline for implementing CSS float or flex layouts. The Oxygen desktop has its own CSS rendering engine which is intended mostly for supporting basic CSS features which are usually enough for editing, but indeed we might not be able to render the XML document exactly as it will look like when published.
There is an Oxygen WebAuthor (in browser web editing tool):
https://www.oxygenxml.com/oxygen-xml-we ... xygen.html
I'm not sure if it also supports these features but in time maybe this support would be easier to add there as it uses the web browser directly as the rendering engine.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service