Solved

Big Image Making a Page Jump

Posted on 2006-10-21
5
187 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to find duplicate message in database 7 29
cfselect with multiple coming up undefined in internet explorer 10 6 38
Google adds suggestions 3 57
Specific format 21 181
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

912 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now