Mobile Friendly Website


Doing it with style

CSS MENUSShrink wrapped buttons

Date : 27th May 2007

For all modern browsers

Shrink-wrapped buttons Another
..and a final one!


This is my take on the method for shrink-wrapping float left buttons as put forward by Roger Johansson at 456 Berea Street - Creating bulletproof graphic link buttons with CSS

This version uses just one image instead of two and one less 'shrink' tag.

Using padding and both positive and negative margins it is possible to use the outer link to hold one corner and the three nested <b> tags to hold the other three corners.

Tested in IE5.5, IE6, IE7, Firefox, Opera, Netscape and Mozilla. It should also be ok in all other modern browsers.

The single image can be seen here - button image.

You may use this method on your personal 'non-profit' web site without seeking my permission.
A link back to CSS PLAY 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 CSS PLAY.

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.


Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.


Facebook Twitter rss feed Facebook Fan Page