I have a web site built using Dreamweaver CS6. I used the fluid grid layout to have different views for each of the 3 types - phone, tablet, desktop. It works well, resizes as it should. I would like to be able to show an image in the desktop version but not the mobile version. How could I do that? I can see in the .css file that different size screens can have their own different settings. Is there code I could add that would hide/show and image based on the users viewport on the same page? Let's say I have a div tag named picture. How could I add a parameter to the picture div tag in the style sheet that would hide the image if it was mobile?
Method depends on whether you want the hidden image to take up space or not
This should explain it well for you
Insert image into a container div.
Tablet & Mobile CSS:
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists