Trying to hide cell borders in simpletable fails
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 22
- Joined: Mon Oct 14, 2013 2:12 pm
Trying to hide cell borders in simpletable fails
I am using a one-row, two-cell simpletable to create a note with an icon on the side. Obviously, the hazardstatement would be overkill and introduces a lot of extra incorrect semantics (the note is not at all a hazard).
To have the content showing up without the ugly table borders, I tried setting @frame="none" on the simpletable and that does indeed work. But I have not been able to remove the border between the two cells. I added a rule for this to the -topic-table-simpletable.css:
*[frame = "none"] *[class ~= "topic/stentry"]{
border: none;
}
In the CSS Inspector window I can see that the rule was recognised. It shows this (referencing the correct line in my adapted CSS):
*[frame='none'] *[class~='topic/stentry'] {
border-bottom-style : none ;
border-left-style : none ;
border-right-style : none ;
border-top-style : none ;
}
But the border is still showing. As the Author mode is supposed to be driven by CSS I am thinking this is a bug, but maybe I am overlooking something.
If anyone has another solution to making this work, let me know. At this point I am not yet worried about the final output - that is something I would be able to handle by adapting the CSS for the final product. I just want to have the Author mode show the right styling.
To have the content showing up without the ugly table borders, I tried setting @frame="none" on the simpletable and that does indeed work. But I have not been able to remove the border between the two cells. I added a rule for this to the -topic-table-simpletable.css:
*[frame = "none"] *[class ~= "topic/stentry"]{
border: none;
}
In the CSS Inspector window I can see that the rule was recognised. It shows this (referencing the correct line in my adapted CSS):
*[frame='none'] *[class~='topic/stentry'] {
border-bottom-style : none ;
border-left-style : none ;
border-right-style : none ;
border-top-style : none ;
}
But the border is still showing. As the Author mode is supposed to be driven by CSS I am thinking this is a bug, but maybe I am overlooking something.
If anyone has another solution to making this work, let me know. At this point I am not yet worried about the final output - that is something I would be able to handle by adapting the CSS for the final product. I just want to have the Author mode show the right styling.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Trying to hide cell borders in simpletable fails
Hi Jang,
This is a bug on our side, we had it registered for a while but had not time yet to fix it:
viewtopic.php?f=8&t=21512
Indeed from the CSS you cannot override the simple table borders.
If we manage to fix it in a future version I'll update this forum thread.
Regards,
Radu
This is a bug on our side, we had it registered for a while but had not time yet to fix it:
viewtopic.php?f=8&t=21512
Indeed from the CSS you cannot override the simple table borders.
If we manage to fix it in a future version I'll update this forum thread.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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