467,212 Members | 1,109 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,212 developers. It's quick & easy.

"tuning" CSS

Is it possible to develop inefficient CSS? I ask because when we strip
all the CSS out of a dynamic page, it loads into the browser in a flash.
When all the CSS is enabled, the browser seems to take (depending on the
browser IE seems slower than FF and depending on the PC too) potentially
a very long time (maybe up to 10 seconds) to finish laying everything
out. These are not terribly complex (as far as I can tell) pages and I
wonder whether the CSS can be coded in ways that can make it quicker for
the browser to understand the required result.

The page has 4 style sheets (plus a fifth if IE).

As an aside, in some caes we are using .png images which require some
special handling for IE - perhaps this is an extra layer of
complication.

Be grateful for any pointers.
--
jeremy

Apr 6 '07 #1
  • viewed: 1756
Share:
2 Replies
Jeremy wrote:
Is it possible to develop inefficient CSS?
It's actually very easy to develop inefficient CSS, I think. :)
The page has 4 style sheets (plus a fifth if IE).
That's 4-5 separate trips to the server, at least for the first page.
After that the stylesheets should be pulled from the cache.
As an aside, in some caes we are using .png images which require some
special handling for IE - perhaps this is an extra layer of
complication.
Of course it's an extra, but the actual time it takes to process may be
insignificant.
Be grateful for any pointers.
A URL would be helpful.

--
Berg
Apr 6 '07 #2
Is it possible to develop inefficient CSS?

I'm a master at it

Apr 10 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jordan Rastrick | last post: by
2 posts views Thread by John Morris | last post: by
38 posts views Thread by Haines Brown | last post: by
reply views Thread by wxqun@hotmail.com | last post: by
reply views Thread by wxqun@hotmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.