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

"tuning" CSS

P: n/a
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
Share this Question
Share on Google+
2 Replies


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

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