Hi Friends, I'm new in this forum. Will really appriciate any solution for this issue - I have a number of pages which have <span style="font-size: x-small;">text .... text. </span> around some content. I just want to put a class or something in my external CSS file that will increase the value of 'x-small' in font-size: x-small. Does this make sense. If anybody has any solution, that will be really helpfull. Thanks Prat
you could do this in your css file: .xsmall { font: normal 0.6em(orwhateveryouwant) Verdana(orwhateveryouwant); margin:0; padding:0; color: #fff(orwhateveryouwant)M } And then in your html like this: <p>blalala vlallala vallala <span class="xsmall">text text</span> bla blaa blaa</p>
That won't work due to specificity. the style set between the tags takes precedence. This is why inline styling can screw you up.
you cannot change the meaning of x-small and you will need to remove the inline styles inline styles are allways used in the last and while designing they should not be used Simply they produce crap for search engines which they donot like Regards Alex