Msg#: 3853034 posted 10:51 am on Feb 19, 2009 (gmt 0)
Hi, I have web site where i have been published more then 2000 images with border 1px without css style, in img tag, like this one: <img height="311" border="1" width="485" alt="" src="/userfiles/image/%D0%90%D0%A4%D0%96%20Mostarke.jpg" />
I'd like to change style using css. Is there possibility to crate new style and automatic change images style without setting class="" in img tag on all images?
Msg#: 3853034 posted 12:06 pm on Feb 19, 2009 (gmt 0)
Welcome to WebmasterWorld! Since you have hard-coded attributes into your tags, these would automatically override all external CSS rules. Remember the order of CSS: external, internal, inline. Each one progressively overrides the higher one.
If you have 2000 images, it seems that you're in for a lot of work! But once you have a class established, changing it will be much easier.