skip to content

A clipped gallery

11th November 2006

Hummingbird Sunflower Hummingbird Dragonfly Hedgehog Jay Butterfly Crane

Information

Just a demonstrations of the little used 'clip' style to produce a vertical strip of each photograph including its border.

Click on any vertical strip to get the full photograph and if you are using IE then click off the photograph to collapse the image back to a vetical strip.

This also shows a bug in Firefox, which acts the same way as Opera (and probably Safari) in that the focus state is not held once the mouse button is released. Firefox should keep the full size image on screen until the mouse button is clicked again but it doesn't. However if you click on an image then drag the mouse a fraction then the image is kept active.

It also shows that IE6 gets it wrong with its clip style. If you use comma separators as per the specification then the clip doesn't work. But if you use space separators as is normal for padding, margin and borders then IE6 gets it right. Firefox doesn't mind either way.

I think that in this case the spec. is wrong and spaces should be used.



Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.


CSS play recommend

Flash LoadedPSD to HTML, PSD to XHTML Service by PSD2HTML.com. You Design - We XHTML / CSS.SitegrinderSocial Media Applications On DemandBitrix Site ManagerFree, practical CSS menus, layouts, and examples