Excessive whitespace in author mode view
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 185
- Joined: Wed Apr 20, 2005 5:43 pm
- Location: Victoria, BC, Canada
Excessive whitespace in author mode view
Post by martindholmes »
Hi there,
When writing CSS for author mode, I'm specifying
and also specifying the same thing on various elements, but I'm still seeing all whitespace in the author-mode rendering, which means that documents with pretty-print layout in text view look very weird in author mode. How do I suppress whitespace in the author view?
When writing CSS for author mode, I'm specifying
Code: Select all
*{
white-space: normal;
}
Re: Excessive whitespace in author mode view
Hello Martin,
By default all elements are considered white-space:normal unless you specify otherwise in the CSS.
So by default Oxygen should show elements with normalized whitespaces in the Author visual editing mode unless:
- The element has defined in the associated schema/DTD an xml:space attribute with the fixed value "preserve". Or it has an ancestor with the same default attribute value defined in the schema.
- The element has an xml:space=preserve attribute set on it or on an ancestor element.
- The Preferences->"Editor / Format / XML" page has a "Preserve space" list which contains elements matching your XML element or an ancestor of your element.
Regards,
Radu
By default all elements are considered white-space:normal unless you specify otherwise in the CSS.
So by default Oxygen should show elements with normalized whitespaces in the Author visual editing mode unless:
- The element has defined in the associated schema/DTD an xml:space attribute with the fixed value "preserve". Or it has an ancestor with the same default attribute value defined in the schema.
- The element has an xml:space=preserve attribute set on it or on an ancestor element.
- The Preferences->"Editor / Format / XML" page has a "Preserve space" list which contains elements matching your XML element or an ancestor of your element.
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