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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:37:04+00:00 2026-05-12T15:37:04+00:00

So, using IE as my browser, I have a simple link… <a href=test.jpg>Image Link</a>

  • 0

So, using IE as my browser, I have a simple link…

<a href="test.jpg">Image Link</a>

Is it possible to change the background color of the page this image loads up in?

I want to avoid creating a whole new page for the image.

EDIT Sorry for the confusion. I thought it was pretty clear. Pascal has it right as does Guffa.

from Pascal… “I understood that he want the image opened in a new page, and that page to have a specific background-color”

@David Andes, you are correct in that the link implies what is happening (“I know the image is part of the anchor itself”), which is that the image will be opened in a new page. However, the language you quoted is not correct.

“change the background of the image this page loads up in.”

Ultimately, I would like to change the background color of the page that this image is opened in.

So the answer to the comment on this post is indeed (1) want the background color to change for the page loaded by a click to “Image Link,”

  • 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-12T15:37:04+00:00Added an answer on May 12, 2026 at 3:37 pm

    When someone clicks on such a link, the only thing the browser loads up is the image itself — not any “page”.

    This means the background-color depends on the browser, and there is nothing you can do about it.

    If you want your image to be displayed in any other “page”, you’ll have to code that one — still, if you have several images, you don’t need to code a different page for each one : a generic page, able to display any image, and received a parameter indicating which image should be displayed, will do the trick.

    Just for fun : under firefox, that background-color can be changed by going to about:config, searching for the browser.display.background_color property, and changing it.

    Of course, as a webmaster, you have no control over it : only a user can change it, for his instance of firefox.

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

Sidebar

Related Questions

I have created a simple web browser using c# and I want to block
I have a simple HTML-page with a UTF-8 encoded link. <html> <head> <meta http-equiv="content-type"
Using browser firefox and chrome I have an input file element. <input type='file' id='tempFileInput'
I have a SQLite DB designed using SQLite Database Browser 2.0 b1 I have
I have problem with items order in legend, when I using Google Chrome browser
I have successfully been using the eclipse Indigo internal browser to view my web
I have successfully been using Win32::Ole module to browser through pages and submit forms.
How do I check if browser supports position:fixed using jQuery. I assume I have
I have a simple contact form that works in every browser, except IE. It
My simple project structure is shown in this link . I am using Eclipse

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.