Please read our guidelines for posting code. Note the ways in which you can help us help you by including complete “working page” with all relevent code in your first post.
Please validate your code before posting.
Include images, URLs to images or placeholders, or sizes of images as needed, etc.
Include screen shots showing differences between desktop and mobile views, if needed.
You may find it useful to add outlines or background colors to boxes when testing. For example, at this time, I see nothing when rendering your code in a desktop browser.
Thanks for your reply.
Regarding " at this time, I see nothing when rendering your code in a desktop browser."
Do you mean you see “nothing” or you don’t see the image problem?
As stated “image is viewed full screen it looks fine”, which by that I mean ‘desktop’. It’s the mobile view that changes the image to disproportionatly too small.
I’m sure he means “nothing” since you did not provide bulb.png for us to test with. Or any indication of it’s size so a placeholder image could be used instead.
You would see nothing too if you did not have the image on your machine.
In regards to your CSS, I see no styles for the span or the image to control the image size.
Likewise, it looks like the bulb image is rather small ( like an icon) so it probably does not need to be scaled down for mobiles. That way it would not be getting “too small”.
The code you posted doesn’t exhbit the problem you are trying to show us. It shows the full size image at all times.
As Ray said above the rules that resize the image (or its container) are not present so we can’t see how you are making it smaller.
l’m guessing a simple min-width on the image would do the trick but if the container is being sized in percentages and the image width is 100% then the container needs the min-width instead but of course this could break other columns. Without seeing the structure you have its hard to give a useful answer