Solved

homepage locates at the centers after 1,2 s

Posted on 2011-02-27
4
188 Views
Last Modified: 2012-06-27
our homepage like this: www.msb.com.vn

would you know all reasons that homepage is located at the center after 1,2 s loading.

and solutions to fix it ?

Thanks
0
Comment
Question by:dinhchung82
  • 3
4 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
Comment Utility
I believe the javascript that generates the page takes that long to finish processing.  No, I don't know how to fix it.  The source says you're using Plone to create your site.  Maybe there's some info there.  The other Plone example sites aren't doing it so it's something about your site.
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
On second look, I see that a number of your tables have '%' widths instead of fixed pixel widths.  Browsers have to render everything, recalculate the actual sizes, and readjust the page when you do that.  Your first two table declarations are % and have no content at the top at least.  The statement below is probably the biggest problem.  It takes 50% of the screen with no content but background color.  Remove the width="50%" and things might improve.
<td width="50%" align="right" bgcolor="#868686">

</td>

Open in new window

0
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
Comment Utility
Also remove the align="right" so that it becomes:
<td bgcolor="#868686">

</td>

Open in new window

0
 
LVL 5

Author Closing Comment

by:dinhchung82
Comment Utility
Thanks for your help.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

772 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

10 Experts available now in Live!

Get 1:1 Help Now