Connecting Tech Pros Worldwide Forums | Help | Site Map

"tuning" CSS

Jeremy
Guest
 
Posts: n/a
#1: Apr 6 '07
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


Bergamot
Guest
 
Posts: n/a
#2: Apr 6 '07

re: "tuning" CSS


Jeremy wrote:
Quote:
Is it possible to develop inefficient CSS?
It's actually very easy to develop inefficient CSS, I think. :)
Quote:
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.
Quote:
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.
Quote:
Be grateful for any pointers.
A URL would be helpful.

--
Berg
selvadealma@gmail.com
Guest
 
Posts: n/a
#3: Apr 10 '07

re: "tuning" CSS


Is it possible to develop inefficient CSS?

I'm a master at it

Closed Thread


Similar HTML / CSS bytes