A box with a dropshadow

This box uses a semi-transparent PNG image (ds40.png) for the shadow in modern browsers that support PNG transparency. I’m using a child selector to hide that rule from IE/Win, and the commented backslash hack to hide it from IE5/Mac. The IE browsers are given a GIF image (ds333.gif) with every other pixel set to transparent.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec risus. Sed rhoncus sodales metus. Donec adipiscing mollis neque. Aliquam in nulla. Quisque faucibus tellus. Proin iaculis. Donec lobortis. Maecenas ut velit. Quisque molestie wisi. Sed sem lectus, ullamcorper quis, bibendum in, tincidunt quis, nulla. Nulla malesuada. Donec a elit at risus bibendum commodo. Duis quis ipsum. Sed ultricies, odio quis rutrum porta, lorem lacus sodales erat, nec scelerisque felis ipsum ut diam. Nunc lorem eros, dignissim quis, rhoncus sit amet, mattis eu, lacus. Vestibulum ipsum tellus, imperdiet iaculis, vulputate gravida, venenatis sit amet, lacus. Cras cursus. Cras dignissim mauris nec lorem. Curabitur malesuada. Nulla eleifend.

Lab Index | 456 Berea Street Home | Copyright © 2003-2014 Roger Johansson