Re: Firefox destroying layout upon page load / reload fixes it



amishguy@xxxxxxxxx wrote:
On Dec 17, 11:19 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
amish...@xxxxxxxxx wrote:
Hello,
I am having an issue with a site I'm creating right now. I have had
this issue before and I would like to figure out what the solution is
instead of using workarounds as I have in the past.
A little background: I have a php based site. The layout is a table
based layout that was generated by slicing a large image. Most of the
pages that I have problems with use PHP includes which I think has
something to do with the issue.
The problem is when I click on a link or load various pages on the
site the page loads very quickly but the table is blown apart and
image slices are all over the place.
If you hit refresh / reload it comes back together and looks right
every time.
I'm thinking it has something to do with displaying the page before
its all loaded. In IE I do not have any problem but it seems wait and
then load the page all at once.
Any ideas how to fix this? Maybe some sort of pre-load or page delay
code that I could throw in?
Thanks in advance for any help!
This isn't a PHP problem - the client doesn't know (or care) whether the
site is using PHP or not. You need to figure out what's going on with
your HTML and/or CSS.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================

Any idea what that problem could be?

This problem only seems to happen when its loading a page that has an
include making me think that its the fact that it takes a little bit
longer to load that causes this problem.

Again if you hit reload the page comes out fine.

HTML is just a standard table. No CSS in this situation. The same page
looks fine without fail in IE and most of the time in Firefox its just
once in a while (enough to drive you nuts) that it blows away in
firefox.


Other than the fact it's not a PHP problem, and therefore not appropriate for this newsgroup, no.

If there is no CSS, then your problem is probably HTML related. PHP doesn't generate different code for different browsers (unless you told it to).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: [PHP] Couple of beginner questions
    ... The custom tag will expand the path to wherever the images directory was ... It's a pain in the ass overriding a CSS rule that was ... wherever I can't simply redefine the html tag. ... infact ideally an html tag should never be seen in a php script ...
    (php.general)
  • Re: Lost formatting in browser view source
    ... At the same time your html pages without php-code are processed by php. ... If you are concerned about users links and bookmarks to break, you have the nice option in apache to rewrite rules, if they try to load a "missing" html page, redirect them to a php file with the same name. ... run your editor, load 100 pages, use find/replace to change the address ...
    (alt.php)
  • Re: Stop hotlinking to a specific file & keeping a counter
    ... I am totally new to PHP, and other web scripting languages; I am coming for windows application developer. ... My level of server scripting is about zero, I tend to do a hatch job of it. ... Once I have time I am thinking of delving deeper into HTML, XHTML, CSS and then PHP. ...
    (comp.lang.php)
  • Re: Stop hotlinking to a specific file & keeping a counter
    ... I am totally new to PHP, and other web scripting languages; I am coming for windows application developer. ... My level of server scripting is about zero, I tend to do a hatch job of it. ... Once I have time I am thinking of delving deeper into HTML, XHTML, CSS and then PHP. ...
    (comp.lang.php)
  • Re: Firefox destroying layout upon page load / reload fixes it
    ... This isn't a PHP problem - the client doesn't know whether the ... longer to load that causes this problem. ... No CSS in this situation. ... looks fine without fail in IE and most of the time in Firefox its just ...
    (comp.lang.php)