Avoid CSS Expressions


For viewing all tips see here


Applicable To
IE version 5 – 7, which supports CSS expressions

How Improves Page Load Time
By optimizing browser rendering

Prologue
[Detail of the technology / concept being used in the tip if required]

Why
CSS expressions allow dynamically changing document properties in response to various events.  It consists of Java Script expressions embedded as the value of CSS properties in CSS declarations.  Because of it, the browser reevaluates each CSS expression on trigger of every event.  The performance degrades significantly if events are like ‘onMouseMove’, ‘window resize’ etc.

How
o        Don’t use CSS expressions if possible
o        Use JavaScript instead for dynamic styling

Exceptions
None

Recommendations
None

Comments

Popular posts from this blog

Performance Test Run Report Template

Understanding Blockchain

Bugs Management in Agile Project