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 3232236
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:08:15+00:00 2026-05-17T17:08:15+00:00

I am displaying a logo on in my header with the following css property:

  • 0

I am displaying a logo on in my header with the following css property:

background: url("images/ogo_b_s.gif") no-repeat scroll left top transparent
height: 92px;
width: 300px;

problem is that my original image is of high quality (4325 X 1450). However, for this image to fit in the above css width and height, I have to scale the image down to (257 X 87) and that reduces the quality of the image significantly. So much so that even the font in the image starts looking weird.

This image has transparent background and is put on top of another image.

I want to know whether there is some way to not scale the image down and have it fit the above css?

  • 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-05-17T17:08:16+00:00Added an answer on May 17, 2026 at 5:08 pm

    Two things:

    1. Don’t have CSS scale images. It does a poor job of this. Scale the image with some program that was designed to do the scaling on your own to the dimensions you want. Then CSS doesn’t have to do anything.
    2. 4325 x 1450 is huge! You want someone to have to download that whole thing just to see it at a tiny scale? If you rescale the image as suggested in #1 it will save your users from having to load the whole huge image (and save you some bandwidth).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For displaying data in our application I've use GridView with the following markup: <asp:GridView
I have to include some images (company logo's etc) in email signatures. I've had
i'm trying to get my background image to display within the header div but
I'm displaying some white text on a back background but the text is displayed
I am trying to center a image horizontally using css. I am displaying my
I´m displaying images in a ListBox and i want to control the size (small,
I'm displaying a set of images as an overlay using Google Maps. Displaying these
I am having problem with displaying div's background overflow in IE (in my case
Displaying Type here to ... until the user enters text into a TextBox is
When displaying all articles of a specific month (given through the urls like this

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.