firefox loads funny at first

Discussion in 'HTML' started by windandwaves, Oct 24, 2005.

  1. windandwaves

    windandwaves Guest

    windandwaves, Oct 24, 2005
    #1
    1. Advertising

  2. windandwaves

    windandwaves Guest

    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/azur/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
     
    windandwaves, Oct 24, 2005
    #2
    1. Advertising

  3. windandwaves

    Chris Beall Guest

    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/azur/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
     
    Chris Beall, Oct 24, 2005
    #3
  4. windandwaves

    windandwaves Guest

    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/azur/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.
     
    windandwaves, Oct 24, 2005
    #4
  5. windandwaves

    Toby Inkster Guest

    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
     
    Toby Inkster, Oct 24, 2005
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Don Tuttle
    Replies:
    2
    Views:
    457
    Don Tuttle
    Oct 13, 2003
  2. Brandon

    Funny Entity Name

    Brandon, Dec 7, 2005, in forum: VHDL
    Replies:
    2
    Views:
    498
    Paul Burke
    Dec 13, 2005
  3. Ron
    Replies:
    2
    Views:
    1,249
    William F. Robertson, Jr.
    Jun 25, 2003
  4. Jullietta
    Replies:
    1
    Views:
    381
    cbDevelopment
    Oct 28, 2004
  5. =?Utf-8?B?RG1pdHJpIEtoYW5pbmU=?=

    Large file upload behaves funny

    =?Utf-8?B?RG1pdHJpIEtoYW5pbmU=?=, Mar 30, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    357
    =?Utf-8?B?RG1pdHJpIEtoYW5pbmU=?=
    Mar 30, 2005
Loading...

Share This Page