Prev | Current Page 581 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


Remember to use CSS filters that only target dead browsers??”then you won??™t be in
the situation in which a bug gets fixed and stops your CSS from working as you
expected.
Use CSS filters carefully and adopt a structured, logical approach to your CSS
management. This way, you can ensure that you recognize where and why you have
used the filters, and that you understand their implications.
Consider using conditional comments as a safe and future-proof way of addressing
all Internet Explorer versions. Make sure that the CSS files are manageable and don??™t
contain unnecessary code. Keep only the changed CSS in the Internet Explorer-only
files and avoid duplicating CSS code unnecessarily.
Remember that, in most cases, workarounds, filters, and hacks can be avoided if
you take a considered approach to the page architecture using valid CSS and HTML
code. CSS is so flexible that it allows you to code the same layout in many different
ways, and often a small change in design will obviate the need for any hacks at all.


Pages:
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593