CSS background colour and HTML image
Hi
I am having a css/html image issue
I got a static image using a css class called static, on my 1024 screen size it is perfect but on my 1280 screen I want the image to have a background colour of a dark grey that extends further than the image if that makes sense
I am using css mediaqueries for the larger screen
I can't work out how to do it, the HTML is below
HTML:
<img src="images/landlordrefurbstatic4.jpg" alt="" title="" class="static">
The CSS is below
Code (text):
/* Media…
CSS background colour and HTML image
See original post by ianhaney
Leave a Reply
You must be logged in to post a comment.