The Proper Use of img and background-image Property
There seems to be confusion among web designers when to use the img tag vs the CSS background-image property.
Both tags are frequently used improperly. Usually this isn't revealed until it comes time to give the site a facelift or update photos.
Really it isn't difficult to keep your images inline. Read below for a couple helpful tips.
Use the img tag when the image is not related to the stylesheet.
These are photos that need to display no matter how the look and feel of the site changes..... read more
Posted in CSS, html, web design | Post Comment