Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8361799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:47:00+00:00 2026-06-09T11:47:00+00:00

I am using the responsive image technique, which is to set max-width to 100%

  • 0

I am using the responsive image technique, which is to set max-width to 100% to resize my images according to the screen resolution/size. However, when I put the image inside a div that has a percentage width, the images do not appear crisp (since I surmise, it has been resized via browser). The text on the image is quite blurred. Is there a way to make it look crisp? Or at least to make it look crisp on the most common screen size?

CSS:

img {
  max-width: 100%;
  height: auto;
}

.img-container {
  width: 57%;
}

HTML:

<div class="img-container">
  <img src="[img source]" width="700" height="500" />
</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:47:02+00:00Added an answer on June 9, 2026 at 11:47 am

    If you’ve got a large image that’s being scaled down, resize it in a vector graphics program first, then save it as the preferred size, and serve that to the client.

    If you’ve got a small image that’s being scaled up, you’re going to lose resolution, no option.

    This isn’t really a CSS/HTML problem, just FYI, it’s a scaling problem. Various browsers will use various scaling algorithms, so the results will not be consistent. You’ve got to grab the controls and force the browsers to show the image you want, without scaling. One of the practical drawbacks to the theoretical beauty of “responsive design”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a responsive site using WordPress, and images are automatically set to height:100%;
I have made the following code for an image re-size based of max width
I have a script, which by using several querystring variables provides an image. I
I have a responsive site that I'm developing where I'm using a image slider
if I'm generating images using servlets/actions something like this: byte[] imageBytes = getImageAsBytes(); response.setContentType(image/jpeg);
i am using this slideshow made with html and javascript: http://tympanus.net/codrops/2011/09/20/responsive-image-gallery/ the slideshow works
I have a responsive web design with a SVG logo/image which is dynamic with
I'm using jQuery and media queries to resize my images, it works great in
I am using the premium responsive theme for drupal 7, and added the quick-tabs
I am using the premium responsive theme in Drupal 7 to create a site.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.