Forums / Setup & design / specifying the css class to be used in the xml tags (i.e <strong>,<emphasize>) when provided in the xml text field.

specifying the css class to be used in the xml tags (i.e <strong>,<emphasize>) when provided in the xml text field.

Author Message

M Farhan

Saturday 28 June 2003 3:09:16 am

Hello Everyone,

Is there a way of providing the class in the xml tags supported by eZPublish for the xmltextfield i.e <strong class='thestyle'> </strong> or <emphase class='a_class_in_css'></emphase>. Actually i dont want to fix the colour in the tpl used for these tags 'in the ezxmltags dir' (which i can always do,with the use of class defined in css) but i want to give this leverage to the user entering the data.

I know it could be done through the use of custom tag option but the thing is that custom places the contents/data following it on a new paragraph/line which i dont want to, otherwise i would have adopted this option.

Suggestions plz

MF