See the navigation bar above? You can click to see the effect of it, please note that this is done in the form, do you believe? In fact, the code is very simple, now let's see what to do.
1. First create a 1x6 table, the parameters are: border=0 cellspacing=3 cellpadding=0;
2. Insert a table in each cell of the table, with width and height set to 100%;
3. Create a CSS style. Up and. Down; code is as follows:
<style>
. up{
Border:4 outset Royalblue;color:yellow;background:blue;cursor:hand
}
. down{
Border:4 inset Royalblue;color: #33ff33; background:blue;cursor:hand
}
</style>
4. Invoke the style and behavior of the inserted table, the code is as follows:
Class=up onmousedown= "Classname=" "onmouseup=" classname= ' Up ' "onmouseout=" classname= ' Up ' "Onclick=window.open ("button.htm", "_blank")
Note: Link please use onclick, do not use HREF, because the latter access after the dotted box, not beautiful. Now save to see the effect of it!