Julius Posted March 17, 2012 Share Posted March 17, 2012 Hello, Why <img style="float: left; margin-right: 5px; padding: 5px; background-color: white; border-radius: 5px;" src="existing_image_500px_wide.jpg" alt="text" width="400" /> returns what I want, but when I transfer all styling to .img_style { here } and in img tag replace style="..." to class="img_style" it doesn't work at all? Quote Link to comment https://forums.phpfreaks.com/topic/259128-img-and-some-styling/ Share on other sites More sharing options...
Julius Posted March 17, 2012 Author Share Posted March 17, 2012 browser cached my css file, so I cleared cache and it started working properly Quote Link to comment https://forums.phpfreaks.com/topic/259128-img-and-some-styling/#findComment-1328431 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.