Is it possible to make the border show up on only one side of the menu? Say on the left side in a vertical menu?
Thanks.
Brian
border on one side only
Hi,
Yes, but not using the border code in the menu. For those who don't know, there are 3 'border' codes for the menu, the first borderwidth, bordercolor, borderstyle, place a border around the outside of the menu, it is specific to the whole menu, not items. Offborder and onborder put borders around each item. To get the effect you want, which is a border down one side of the menu, you must eliminate the borderstyle, borderwidth, bordercolor from the style, and then code the border using css. You could create a class and code the border, then you'd call the class in the style section. Remember to call the class as offclass=; and onclass= so you'll have that border in both mouse states. As an example of the css
Then in the style you'd call
This would give you a 1px red border down the left side. In reality it is putting a left hand border on each item but it looks like it's down the left side of the menu.
Ruth
Yes, but not using the border code in the menu. For those who don't know, there are 3 'border' codes for the menu, the first borderwidth, bordercolor, borderstyle, place a border around the outside of the menu, it is specific to the whole menu, not items. Offborder and onborder put borders around each item. To get the effect you want, which is a border down one side of the menu, you must eliminate the borderstyle, borderwidth, bordercolor from the style, and then code the border using css. You could create a class and code the border, then you'd call the class in the style section. Remember to call the class as offclass=; and onclass= so you'll have that border in both mouse states. As an example of the css
Code: Select all
.mynewborder{border-top:0px;border-right:0px;border-bottom:0px; border-left:1px solid red}
Code: Select all
offclass="mynewborder";
onclass="mynewborder";
Ruth