I created custom styles:
But when I highlight any tekst and pick one style from above it change me all tekst before and after not only highlighted. Any idea what can be wrong? Thanks
<Style name="Lead" element="strong"> <Attribute name="style" value="font-family: Arial" /> </Style> <Style name="Body" element="p"> <Attribute name="style" value="font-family: Arial" /> </Style> <Style name="Midtitle" element="h5"> <Attribute name="style" value="font-family: Arial;" /> </Style> <Style name="Foto sig" element="b"> <Attribute name="style" value="font-family: Arial; font-size: xx-small; COLOR: rgb(128,128,128);" /> </Style> <Style name="Auto sig" element="p"> <Attribute name="style" value="font-family: Arial; text-align: right;" /> </Style>
But when I highlight any tekst and pick one style from above it change me all tekst before and after not only highlighted. Any idea what can be wrong? Thanks
Re: Custom styles didn't work
Thanks
Re: Custom styles didn't work
Anybody?![:?](http://b.cksource.com/a/2/img/smilies/icon_e_confused.gif)
Re: Custom styles didn't work
And I think the yellow background will only change when you define it. In the above code only the font-family will be set to Arial.
If you want to change the background-color too, you have to define it.