Mobile Friendly Website

CSSPLAY

Doing it with style

CSS MENUSThe NEW variable width single level dropdown menu system

Date : 21st July 2010

For all modern browsers


This demo is too wide for your mobile screen.
Please view on a tablet or PC.







Information

No javascript, no conditional comments, no hacks, no tables, no expressions, just CSS and XHTML

Just when you think that you have seen it all along comes another method of producing a dropdown menu. This one is based on an original idea and preliminary work by Timo Huovinen http://thinkhtml.blogspot.com/ and discussed on the Sitepoint Forum.

With permission, I have used the method, and with a little re-coding and re-styling have managed to get it to work in all the major browser, and a few minor ones.

This method uses no hacks, no javascript, no conditional comments, no htc files, no tables etc etc, just html and css. It allows you to have links of any length in both the top level and sub menu links (which was a problem with the float/drop menu system where the widths had to be fixed). It also allows you to tab through the menu in IE and Firefox.

Tested in IE6, IE7, IE7 emulation, IE8, Firefox, Opera, Safari, Chrome, Avant, SeaMonkey, Flock and Maxthon. It should also work in Mac browsers.

Now to see if we can make it a multi level menu...


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.


Support CSSPLAY

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.


CUSTOM SEARCH

Facebook Twitter rss feed Facebook Fan Page