Hiding attributes

Post here questions and problems related to editing and publishing DITA content.
Raga Mounika
Posts: 49
Joined: Mon Mar 28, 2016 3:54 pm

Hiding attributes

Post by Raga Mounika »

Hi Team,

Is it possible to hide attributes like colspecs is hidden in <table>?
Please clarify me on this.

Thanks and Regards,
Mounika
alex_jitianu
Posts: 1008
Joined: Wed Nov 16, 2005 11:11 am

Re: Hiding attributes

Post by alex_jitianu »

Hi Mounika,

A colspec is an element and it is hidden because of a CSS rule like this:

Code: Select all

*[class~='topic/colspec'] {
display : none ;
}
You should put all your CSS rules inside a CSS and afterwards, go to Options->Preferences, on the Document Type Association page and edit or extend the DITA document type. Open the Author tab, then the CSS tab. Press the New button to add a reference to this new CSS. Please note that the CSS should be saved inside {oxygenInstallDir}/frameworks/dita in order for the framework to be self containing.

Best regards,
Alex
Post Reply