Home arrow HTML arrow Page 2 - Configuring Tables for a Menu for All Browsers
HTML

Configuring Tables for a Menu for All Browsers


In this third part of the series, we continue with the style attributes of the tables of the menu. After that we shall talk about the IDs of the tables and the IDs of their cells. As I said in the previous part of the series, a lot of the design in this series lies in the configuration of the tables. We just have to carry on talking about the tables. We shall talk relatively little about the JavaScript code, later in the series.

Author Info:
By: Chrysanthus Forcha
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
May 20, 2009
TABLE OF CONTENTS:
  1. · Configuring Tables for a Menu for All Browsers
  2. · Sub Menu for Last Drop Down Menu
  3. · IDs of the Tables and their Cells
  4. · The Last Drop Down Menu Table IDs

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Configuring Tables for a Menu for All Browsers - Sub Menu for Last Drop Down Menu
(Page 2 of 4 )

There is a menu item, “Sub link 34 >”, in the last drop down menu. When the mouse pointer goes over this menu item, you should see a sub menu. Now this sub menu appears on the left of the drop down menu; we made this decision because we assume that there is no space on the right for the sub menu to appear.

For simplicity I have put the sub menu in the fourth cell of the main table. This sub menu has two tables: one nesting within other, in the same way given above. This is the sub menu:






Fig 13.2


This table (the nesting table) and the drop down menu table for the fourth (last but one) cell of the main table are all in that fourth cell. The initial and default value for the display property for each of these tables is "none." Under this condition, none of them occupies space in the fourth cell.

Only one of these nesting tables can be displayed at a time. In other words only one of their values for the display property can be set to "block" at a time. The one whose value is set to "block" occupies the space in the fourth cell, while the other one does not take any space.

Concerning the two tables for the sub menu, the width of the nested table is the same as the width of the nesting table. For simplicity, this width is the same as the width of the fourth cell of the main table. Concerning widths, always give the widths for the table cells and tables; otherwise, some browsers will not handle the code properly.


blog comments powered by Disqus
HTML ARTICLES

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials