Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > firefox loads funny at first

Reply
Thread Tools

firefox loads funny at first

 
 
windandwaves
Guest
Posts: n/a
 
      10-23-2005
Hi Folk

Please have a look at:
http://www.sunnysideup.co.nz/clients/azur/comfort.php
and browse through the pages.

Firefox loads some of them funny at first (e.g. extra space between content
and footer, adds scrollbar to page when everything fits, etc...) and then
when I reload them, the pages load normal as intended.

It is particularly noticeable on this page:

http://www.sunnysideup.co.nz/clients...individual.php

What is this all about?

TIA

- Nicolaas


 
Reply With Quote
 
 
 
 
windandwaves
Guest
Posts: n/a
 
      10-23-2005
windandwaves wrote:
> Hi Folk
>
> Please have a look at:
> http://www.sunnysideup.co.nz/clients/azur/comfort.php
> and browse through the pages.
>
> Firefox loads some of them funny at first (e.g. extra space between
> content and footer, adds scrollbar to page when everything fits,
> etc...) and then when I reload them, the pages load normal as
> intended.
> It is particularly noticeable on this page:
>
> http://www.sunnysideup.co.nz/clients...individual.php
>
> What is this all about?
>
> TIA
>
> - Nicolaas


My actual guess is that it already renders the page before it interpreted
all the css correctly. Is there a way in PHP to send the stylesheet in
advance or is there another way (e.g. javascript) to make sure that all the
css has been interpreted before the page is rendered?

TIA

- Nicolaas


 
Reply With Quote
 
 
 
 
Chris Beall
Guest
Posts: n/a
 
      10-24-2005
windandwaves wrote:

> Hi Folk
>
> Please have a look at:
> http://www.sunnysideup.co.nz/clients/azur/comfort.php
> and browse through the pages.
>
> Firefox loads some of them funny at first (e.g. extra space between content
> and footer, adds scrollbar to page when everything fits, etc...) and then
> when I reload them, the pages load normal as intended.
>
> It is particularly noticeable on this page:
>
> http://www.sunnysideup.co.nz/clients...individual.php
>
> What is this all about?
>
> TIA
>
> - Nicolaas
>
>

Nicolaas,

I couldn't quite reproduce the effect as you describe it, but I would
start by putting explicit height="xxx" and width="xxx" attributes on all
of your <img> tags (matching the actual image dimensions). This will
allow the browser to reserve an appropriate sized space for each image
before it has actually downloaded that image.

Chris Beall

 
Reply With Quote
 
windandwaves
Guest
Posts: n/a
 
      10-24-2005
Chris Beall wrote:
> windandwaves wrote:
>
>> Hi Folk
>>
>> Please have a look at:
>> http://www.sunnysideup.co.nz/clients/azur/comfort.php
>> and browse through the pages.
>>
>> Firefox loads some of them funny at first (e.g. extra space between
>> content and footer, adds scrollbar to page when everything fits,
>> etc...) and then when I reload them, the pages load normal as
>> intended. It is particularly noticeable on this page:
>>
>> http://www.sunnysideup.co.nz/clients...individual.php
>>
>> What is this all about?
>>
>> TIA
>>
>> - Nicolaas
>>
>>

> Nicolaas,
>
> I couldn't quite reproduce the effect as you describe it, but I would
> start by putting explicit height="xxx" and width="xxx" attributes on
> all of your <img> tags (matching the actual image dimensions). This
> will allow the browser to reserve an appropriate sized space for each
> image before it has actually downloaded that image.


Hmmm, having looked at it again, I think this may be the exact problem.
Will do.


 
Reply With Quote
 
Toby Inkster
Guest
Posts: n/a
 
      10-24-2005
windandwaves wrote:

> Is there a way in PHP to send the stylesheet in advance


For Mozilla...

<?php
if ($is_mozilla)
{
header("Link: <http://www.example.org/style.css>; REL=stylesheet");
sleep(1);
}
?>

right at the top of the page. (Write your own code to detect Mozilla.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Funny Pictures ! Funny Jokes ! Drink Recipes, Reviews & More ! joevan Computer Support 0 06-29-2006 06:00 PM
Firefox loads pages slow WCH Firefox 2 05-10-2006 04:20 PM
Wireless Network card driver only loads under Admin account =?Utf-8?B?TmVpbCBQ?= Wireless Networking 1 02-22-2006 10:02 AM
OT: The Interview - Real, Funny...Real Funny The Rev [MCT] MCSE 42 05-31-2005 10:42 PM
Funny character in first cell of datagrid Jullietta ASP .Net 1 10-28-2004 12:37 AM



Advertisments