I have a style called cmdname and I created a definition in my style sheet for this style:
font-family: Arial, sans-serif;
I applied the style sheet to all of my topics, but the style is not "active" for the words that are marked as cmdname. How can I make this happen without changing each cmdname individually?
What kind of element are you targeting? For a paragraph, make it p.cmdname. For a span, make it span.cmdname. For a hyperlink, make it a.cmdname. For targeting all kinds of element, simply make it .cmdname.
As it is now, the browser expects an element with the name 'cmdname' and will style that element. This element doesn't exist in html, so your style will never be applied.
I don't understand. Do you mean that in my style sheet where I have the definition of cmdname, it should be listed as span.cmdname if I'm using it for s
Thanks! Changed the definition in the style sheet and it worked!