Don’t think, implement : standards, accessibility, best practices
Over at the Web Builder Zone I started a series of beginners articles centered around HTML and CSS a while back.
The latest article in this series was published yesterday: CSS And HTML Two Level Menus Take One
This article will continue from where I left of with HTML and CSS List Based Menus. For a lot of websites having a menu such as the one we built in the previous article will completely fulfill the needs of the website owner and it’s users, however for some sites, such as the zones on DZone, there is a definite need for a second level of navigation. These second level elements also needs to be instantly accessible to the website users in the same manner as it’s one level counterpart. That is then the topic of this article, creating drop-down and fly-out menu’s using cascading style sheets (CSS) and semantically coded HyperText Markup Language (HTML). While in this article we will focus on HTML and CSS in part two we will also look at how to encourage Internet Explorer 6, and below, to play along with a sprinkling of JavaScript to overcome it’s limitation of only acknowledging :link, :hover and the rest of the CSS link styles when applied to <a> tags and not any other HTML element. We will also look at the quirks presented by the various browsers and how to overcome them.
First let’s look at the HTML that we ended up with at the end of the last article as we will be using it as the basis of this article. Read the complete article on the Web Builder Zone
Schalk Neethling is a highly experienced and enthusiastic Java standards based web developer currently located in Pretoria, South-Africa. He has been working on the web for the past 6 years developing and designing web sites/applications for clients around the world.
He has extensive knowledge of XHTML, CSS, JavaScript, Ajax, JEE, JSP, PHP and more. He is actively involved in the open source, standards and accessibility community.
Leave a reply
You must be logged in to post a comment.