Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS Slow Rendering in IE 1

Status
Not open for further replies.

mawilliams

Technical User
Jun 20, 2003
30
GB
I've noticed that when I load a webpage completley designed using CSS and XHTML on to my webserver and then access it, it takes a a split second to render in IE.

Basically what happens is when I type in the web address and hit go, the page flashes up as it would if the style sheets had not been linked, but only for a split second and then it renders them and displays the page correctly.

Has anyone else noticed this problem or know how to solve it?

Cheers
Mark
 
Are you using link or import call to access your stylesheet? I have seen some delays in IE with import so you might want to switch to link.
 
I would also be looking at the validity of both the markup and the css as well. Check they validate against the doctype you are using. If you already do this, then ignore this post [smile]

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Yeah that would be what it is then. The reason I prefer the import call is that the older browsers ignore it, so at least the site will be viewable. But I suppose the best solution would be to use one sheet that has basic things like fonts (I can use the link method for this) and another for layout (I can use the import method for this). Unless anyone has any better ideas?

Many thanks for you help anyway Vragabond.

Mark
 
Put this in the head section of your page.

Code:
<script type="text/javascript"> </script>

No questions asked, please.

Okay, for an explanation, check out Flash of Unstyled Content.

It is the coincidence of the century that I read your post earlier today and found a reference to this article in a book I was reading tonight! The Zen of CSS Design by Dave Shea and Molly E. Holzschlag.

'hope this helps.

--Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
Thanks for that useful link!


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Yeah thanks for that Dave, that link was very useful indeed.

Cheers
Mark
 
You're welcome!

Like I said, it was a wild coincidence that I stumbled across the reference the very night I read the post!

The book seems pretty cool for anyone who's ever been impressed by the CSS Zen Garden site, by the way. I managed to find a copy in my local library.

Check it out!

--Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top