Some new knowledge

I was adding some pages to the new site today. It is best practice to use an unordered list for menu items. I had done that for vertical menus but not for horizontal menus. I thought that since I was making some changes that I should learn how this was done. I have not used unordered lists much, but I had a good idea of what needed to be done. I changed the list display to inline and sure enough, the menu displayed almost right. The only problem was that the unordered list introduces an indent, and this was causing the centered display to be not quite centered. I did a web search and found a solution without any problem.

The same solution will help with the display of my vertical menus. I had tried a negative margin to correct for the indent. This worked fine in FireFox, but I forgot to check it in Internet Explorer. Someone pointed out to me that the menu was cut off in IE. I have not tried the fix yet, but I think that it will take care of my display problem with my vertical nav sections, too.

Tags: ,

Leave a Reply


privacy policy | terms of service | about us