Prev | Current Page 544 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

If we want to create this effect in IE6 and
under, our only other choice is to use a very long image (to cover expansion of the
element) and set the sizingMethod to "crop", but this approach may not always be
feasible.
For an image that doesn??™t need to stretch or scale with the layout, where
sizingMethod can be set to "image" the effect will be much better, as can be seen
Figure 16.6.
Figure 16.6: Transparency with no scaling
Firefox 2 is pictured on the left, while IE6 is on the right. There??™s very little difference
between the two since the image size remains unchanged.
Another issue arises from the filter??™s use: anchors can??™t be clicked when the anchor
lies on a background that??™s been created by the filter. Usually, what happens is that
the filter is applied to an element that has position set to relative, and the links
suddenly stop working. Sometimes, we can fix the issue by setting position to
relative for the anchors in question, and setting a z-index appropriately.


Pages:
532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556