By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,369 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,369 IT Pros & Developers. It's quick & easy.

Firefox destroying layout upon page load / reload fixes it

P: n/a
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!

Dec 18 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
am******@gmail.com 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.
js*******@attglobal.net
==================

Dec 18 '07 #2

P: n/a
On Dec 17, 11:19 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
amish...@gmail.com 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...@attglobal.net
==================
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.
Dec 18 '07 #3

P: n/a
am******@gmail.com schreef:
On Dec 17, 11:19 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>amish...@gmail.com 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.
[snipped]
>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.
[snipped]
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.
If you could give us a URL
we'd be better able to help you.

--
Rob
Dec 18 '07 #4

P: n/a
am******@gmail.com wrote:
On Dec 17, 11:19 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>amish...@gmail.com 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...@attglobal.net
==================

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.
js*******@attglobal.net
==================

Dec 18 '07 #5

P: n/a
On Tue, 18 Dec 2007 05:05:27 +0100, <am******@gmail.comwrote:
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!
1. validate your html & css.
2. Ask in one of these groups if that doesn't help (give them an url if
you can):
comp.infosystems.www.authoring.html
comp.infosystems.www.authoring.stylesheets
3. And perhaps try a table-layout:fixed in your css to all tables abused
for layout.
--
Rik Wasmus
Dec 18 '07 #6

P: n/a
Rik Wasmus wrote:
On Tue, 18 Dec 2007 05:05:27 +0100, <am******@gmail.comwrote:
>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!

1. validate your html & css.
2. Ask in one of these groups if that doesn't help (give them an url if
you can):
comp.infosystems.www.authoring.html
comp.infosystems.www.authoring.stylesheets
3. And perhaps try a table-layout:fixed in your css to all tables abused
for layout.

Funnily enough I had this problem as well..a few days ago.

In my case frames were simply all over the place.

I found that clearing all the caches and restarting firefox, and
disengaging from my proxy server sorted it all out.

It's caching simply got confused..once the design had stabilised it all
cleared up.


Dec 18 '07 #7

P: n/a
On 18 Dec, 04:05, amish...@gmail.com 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!
Whilst as many have already pointed out, this has nothing to do with
php per se, I notice a similar problem with the google groups
application in Firefox. Every now and then the page contents (article
link tree and article divisions) display as being only a fraction of
the depth of the page itself. Sometimes refreshing thepage will fix
this and sometimmes I have to exit the page and re-enter it. Never
have the problem with IE.
Dec 18 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.