That said, I'm trying to create new CSS files to make it match what we had. Traditionally, we handed this part off to a 3rd party vendor. But I'm trying to take that control back (and budget), as I don't have to figure out how to make it work with the DITA OT anymore. Obviously I can modify the CSS files, and I'm trying to set them up correctly from the get go. But I'm not sure how to handle what would be I guess inline styling. I have been successful in modifying the p tag to be the font and size we want, along with indentation. What I am struggling with is when I want to format some of the text in the p tag to be something else, but still be able to be modified at a stylesheet level, not embedded. So that I can change it from one place should I choose to do so.
DITA example: <step>At the prompt, enter <userinput>su - root</userinput></step>
which would be output as: 1. At the prompt, enter su - root
I believe I can do either of the following:
- Create a new p style called "step" and set the auto-numbering
- modify an <ol> element so it'll be justified where I want it and use the font family I want
So what am I doing wrong? I'd like to be able to do this all from the css, as opposed to in the topic itself. I get the the power of the CSS. Just not sure how to do what I want.
Any input is greatly appreciated.