473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Firefox destroying layout upon page load / reload fixes it

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
7 2186
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dave Blair | last post by:
Hi, Hi, In firefox I can't get a page (which queries an SQL database and shows all the available records) to re-fresh with new updated data after a 'javascript:history.go(-4)' is used to return...
5
by: Martin Chen | last post by:
I have a frame set (as per MS FrontPage 2000). It has a contents and a main frame. The contents frame has a menu bar written with with javascript (in the context of a table). In IE6.1 everything...
11
by: Alex.Svetos | last post by:
Hello, I'm trying to get a popup to keep focus when it is re-clicked. The script below is supposed to produce this exact behaviour, however it doesn't work, at least on firefox 1.0.7 and moz...
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
6
by: scotty | last post by:
I have a script that loops through an existing table list and prepares each href element node to trigger a function when an image is clicked. The function that will be run passes a property value...
4
by: iamaporkaholic | last post by:
The main page of the site has this script which determines the language settings of the OS. This works fine for IE but not for firefox. Is there any other codes which i have to insert to make sure...
29
by: eholz1 | last post by:
Hello Styleists! I am trying to get a page going similar to this nice tutorial at A List Apart. URL: http://www.alistapart.com/d/holygrail/example_1.html This is sorta what I would like. ...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.