HTML
  Home arrow HTML arrow Page 2 - Table Attributes for a Menu for all Browse...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Table Attributes for a Menu for all Browsers
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-05-27

    Table of Contents:
  • Table Attributes for a Menu for all Browsers
  • Attributes of the Drop Down Menu Tables
  • Attributes of the Second Drop Down Menu
  • Nesting Table Cell Attributes

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Table Attributes for a Menu for all Browsers - Attributes of the Drop Down Menu Tables


    (Page 2 of 4 )

    According to this design, there are ordinary drop down menus and non-ordinary drop down menus. The only non-ordinary drop down menu is the second drop down menu. Each ordinary drop down menu table has a cellpadding of 0px and a cellspacing of 0px for the same reasons mentioned earlier. The table (cell) borders have a width of 1px. The browser gives the color of the border. From my experience, the browser usually gives an appropriate color.

    Each ordinary drop down menu table has a rules attribute with a value of "rows." If this is not done, the Opera browser may not give the borders between the table cells. Each ordinary drop down menu table has a width attribute. The value of the width attribute is the same as the width of the corresponding cell in the main menu.

    As you can deduce, the width of a cell in the main menu, the corresponding width of the drop down menu table and the corresponding width of a cell in the drop down menu are the same.

    These are the start tags of the first, third, fourth and fifth drop down menu tables:

    <table cellpadding="0" cellspacing="0" border="1" rules="rows" id="DDT0" width="125" style="position:absolute; display:none">


    <table cellpadding="0" cellspacing="0" border="1" rules="rows" id="DDT2" width="250" style="position:absolute; display:none">


    <table cellpadding="0" cellspacing="0" border="1" rules="rows" id="DDT3" width="200" style="position:absolute; display:none">


    <table cellpadding="0" cellspacing="0" border="1" rules="rows" id="DDT4" width="125" style="position:absolute; display:none">

    The second drop down menu is not ordinary; its first tag is not among the above four. Go through the above tags to appreciate what I have been saying.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek