- div.box {
- position: relative;
- margin:0;
- }
- div.box:hover {
- text-decoration: underline;
- }
- a {
- display: block ;
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- text-indent:-999px;
- background/*\**/: #fff\9; /*IE7、8用ハック 背景色をつけて、*/
- filter:alpha(opacity=0); /*IE7、8用ハック フィルターで透明に*/
- }
- a:hover {
- background-color: #ffffff;
- opacity:0.3;
- }
-