Solved

Big Image Making a Page Jump

Posted on 2006-10-21
5
191 Views
Last Modified: 2010-04-06
Hi,

I am using a big image on one page.  When the page loads the image makes a jump.   The page starts loading in one position then jumps to the left and finishes loading there.  I tried taking the pixel size out of the line.  That made the jump smaller, but still the page jumps.  I tried putting the image in a div, and taking it out of a div.  How could I code this big image into the page in such a way that it will not make the page jump over to the left while loading?

Thanks!!

Ubee...
0
Comment
Question by:a466-ub52
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 17781285
Code please...

My guess is you need to give it height and width
0
 

Author Comment

by:a466-ub52
ID: 17782463
Hello,

Thanks for your reply!  Before we did use the height & width, same thing.  Including the height & width makes the page will jump when loading.  Removing that made the page jump a little less.  Im thinking of using a div and making the image the background of the div?  Would that work?  How would I do that?

Thanks!!


Ubee..
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 17783150
Can you tell me the dimensions of your image and the resolution of your screen

http://www.htmldog.com/guides/cssintermediate/backgroundimages/
0
 

Author Comment

by:a466-ub52
ID: 17784263
Hello mplungjan,

I made it a div, cleared both sides - firefox required that to keep its positioning correct.  Then set the big image as the background of the div and... it worked!

Thanks for your reply & the link.  It helped me to understand!

Thanks!!

Ubee...
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 17784501
:)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

728 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