In previous parts of this series, we discussed the style and ID attributes of the menu's tables. As I said, a lot of the design in this series lies in the configuration of the tables. In this part of the series, we have to talk about the other attributes. This is the last part where we shall talk about table configuration. Attributes affect the characteristics (nature) of a table.
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: