[Last Call] Learn how to a build a cloud-first strategyRegister Now


Web site

Posted on 2011-10-24
Medium Priority
Last Modified: 2012-05-12

I have the same background image set for my web pages -the background image consists of couple of red lines and a small circle.  I would like to keep the background image as other pages are still using this

I then added 5 different images (for 5 different web pages) over the small circle, when I zoom out of the web page it moves the images up or down, which results in two circles.  The background image and the 5 different images - is there a way if a user zooms out or zooms in the image follows the background image when zoomed

Question by:SteptoeTeam
LVL 11

Expert Comment

ID: 37017879
Can you share some code?
What browser(s) are you zooming in/out with? Some web browsers have different zoom behavior.

Author Comment

ID: 37018021
I am using Internet Explorer 9 and 8.

Zooming is affecting both broswers,  the code - this is for the background image:

#contentcurves {
margin:15px auto 1px auto;
padding: 0px 0px 50px 0px;
border: 1px solid;
border-color: #A98A47;
min-height: 485px;
background-position: bottom right;
background-repeat: no-repeat;

I then insert an image for each web page using the following code

<!-- third column -->
<div id="column3">
<p><img src="media/12.gif" alt="Map" width="122" height="123" align="left"></p>

I have also attached one of the pages and the static background image.  As you can see I am trying to replace the background circle from the web pages.  So ideally if someone zooms out the image (circle) will stay where the background circle is
LVL 17

Accepted Solution

GreatGerm earned 2000 total points
ID: 37156813
There really isn't a good way to do this with your background image. The best you can hope for is to try to catch the zoom event with javascript and calculate the positioning of the front image, but this is not likely to be pixel perfect on all (or even most) browsers and is not detected if the page is loaded while already zoomed in.

Your best bet is to create the viewable image on the fly, either by splitting it up into different tags or building it server side based on screen information and delivering it to the client side (depending on language used, this might require ajax).
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 37158094

I used a static background (without the circle) for each of the pages and inserted a seperate circle graphic for each of the pages.  This allowed me to zoom in and out without it moving, since the main background image no longer contained a circle this worked.

LVL 17

Expert Comment

ID: 37160549
I'm glad my suggestion to split the image up worked. If this is working for you, please mark this as answered.
LVL 70

Expert Comment

by:Jason C. Levine
ID: 37343909
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question