b******e 发帖数: 739 | 1 一个竖排的菜单,菜单右边有一个竖条,
我想把手放在菜单的某一个选项上(比如,home),这个字右边的竖条能不能变亮。 |
c**t 发帖数: 2744 | 2 mouseover
【在 b******e 的大作中提到】 : 一个竖排的菜单,菜单右边有一个竖条, : 我想把手放在菜单的某一个选项上(比如,home),这个字右边的竖条能不能变亮。
|
k***g 发帖数: 7244 | 3 CSS is a better solution.
Just define different "border-right" properties for "a:link" and "a:hover".
You may have a look of the menu of my blog. Although it is not exactly like
what you described, the basic idea is the same.
【在 c**t 的大作中提到】 : mouseover
|
b******e 发帖数: 739 | 4 thank you so much.
I will study that today.
Would you please show me your full text of your css?
【在 k***g 的大作中提到】 : CSS is a better solution. : Just define different "border-right" properties for "a:link" and "a:hover". : You may have a look of the menu of my blog. Although it is not exactly like : what you described, the basic idea is the same.
|
k***g 发帖数: 7244 | 5 copy the following code into a text editor, save it as a HTML file, and see
whether it is what you want. I just like to define everything in CSS instead
of in HTML, so the CSS part is a bit long.
|