I am trying to design a vertical nav menu using CSS to create a button effect using the border attribute.
I have the buttons working but they are all different sizes, based upon the number of characters in the label. I have tried padding using   but this doesn’t give an exact size, presumably due to the different letter sizes in the proportional font.
Is there a way of forcing the buttons to all be the same size, regardless of the text label?
Going on from there, the buttons only work when the cursor is hovering over the text, rather than anywhere within the width of the button. Is there a command which will resolve that?
here is one workaround in this part of the style sheet. To make the links active for the full width of the DIV, I made them display: block;. This works for everything but IE/Windows. If you give the block an explicit width of 100%, then IE/Windows plays along. But doing this creates problems with IE5/Mac and Netscape/Mozilla. So I used the child selector“>” to redefine the width to auto. Since IE/Windows doesn’t understand child selectors, it ignores the rule. IE5/Mac, Opera and Netscape/Mozilla follow the rule, and everyone is happy.