The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Background Image stretching in HTML
I have this website http://goo.gl/6QZNxZ
The background image I have inserted this way–
<img />/images/home-background.jpg" alt="bg" />
So I probably cant use media queries for this..
What can be best solution to this to avoid this image stretching issue
Why not actually use a background-image rather than an inline one/
I have added this to a div class..
The image shouldn’t be in a div, in fact, it shouldn’t be in the HTML at all. It should be in the CSS using the background-image property.