What css attribute and value do I use to set image width to whatever the user's window width happens to be?

Progz

max-width: 100%;
height: auto;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.