Why does a webpage miss formatting sometimes?

5

Sometimes, a webpage gets loaded in the browser but it is not displayed properly. All the elements of the page are there, but they are not there where they should be.

for example (A,B and C are three elements of the page)

--------------------------
|       |       |       |
|   A   |   B   |   C   |
|       |       |       |
--------------------------

may be displayed as

---------
|       |
|   A   |
|       |
---------
|       |
|   B   |
|       |
---------
|       |
|   C   |
|       |
---------

that is, the formatting is missing. How does that happen?

Lazer

Posted 2010-03-13T05:27:14.080

Reputation: 13 841

Answers

5

The stylesheet might have timed / error-ed out and thus wasn't loaded.

Josh K

Posted 2010-03-13T05:27:14.080

Reputation: 11 754

@Josh K: Is this the CSS stylesheet? What about pages that do not have CSS? – Lazer – 2010-03-14T10:38:29.820

Then it's a fluke. Something loaded before something else and the browser stopped rendering the page. It happens sometimes, just refresh. – Josh K – 2010-03-14T15:41:22.650