SQL to fix old [IMG] tag ?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
3nd3r
Regular
Posts: 71
Joined: Tue Aug 19, 2008 12:58 pm
Location: NeoMadrid, Spain
Contact:

Post by 3nd3r »

It works! In a weirdly way*, but it does the job!

* In a weirdly way:
The images that before were rendered with padding: 5 px, are still rendered with that padding style. Rest of images has now the padding style I've applied in style.css that I've modified to padding: 4 px to see the effect... But now is 5 px.

So, thank you very much for your time!
Try not. Do, or do not. There is no try.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Anything that was written as <img style="padding:5px" /> will still have 5px padding, because the HTML overrides the CSS file. Remove the padding from the inline style to get it to behave like everything else.

Glad it's working for you!
Judebert
---
Website | Wishlist | PayPal
Post Reply