我这个CSS为啥IE6和IE7不支持啊(有代码)
IE8,火狐和谷歌都可以,但是IE6和IE7不行,代码如下:
CSS部分:
HTML code:
*
{
}
/* =Basic HTML, Non-essential
----------------------------------------------------------------------*/
a
{
text-decoration: none;
}
body
{
}
h1
{
background: inherit;
color: #933;
font: 17px Georgia, serif;
text-align: center;
}
p
{
clear: both;
font: 10px Verdana, sans-serif;
text-align: center;
}
p a
{
background: inherit;
color: #777;
}
p a:hover
{
background: inherit;
color: #000;
}
/* =Hoverbox Code
----------------------------------------------------------------------*/
.hoverbox
{
cursor: default;
list-style: none;
}
.hoverbox a
{
cursor: default;
}
.hoverbox a .preview
{
display: none;
}
.hoverbox a:hover .preview
{
display: block;
position: absolute;
top: -33px;
left: -45px;
z-index: 1;
}
.hoverbox img
{
background: #fff;
border-color: #aaa #ccc #ddd #bbb;
border-style: solid;
color: inherit;
vertical-align: top;
width: 253px;
height: 49px;
}
.hoverbox li
{
background: #eee;
border-color: #ddd #bbb #aaa #ccc;
border-style: solid;
border-width: 0px;
color: inherit;
display: inline;
float: left;
margin: 0px;
相关问答:
直接看不到的话,http://hiphotos.baidu.com/%CB%AE%CC%EC/pic/item/bd10cdfc07c1c4d2fc037f24.jpg
要实现图片中的三种效果:
1、button的样式
2、改变下拉列表框 样式
3、就是鼠标放到字体上时显示 ......
对CSS能看懂,但一些属性还是不能够完全理解。
自己只会写些常用的CSS。还没达到创造和创新的地步。
所以想问下各位前辈,应该看那本书较好呢?
建议不买书网上找教程自学,这个东西不是很难,多练习就会了
......
初学CSS 遇到一个问题 不知道怎么实现 高手帮帮忙
我定义了一个边框 想让边框的左右两边发光 用滤镜filter:glow()应该可以实现可是不知道怎么写
如果不能实现什么方法能实现呢?
我写的
......
form表单下拉框的蓝色怎么去掉呢,我想把下拉框的颜色设为透明的
may be no way.
像QQ空间里的那些透明的下拉框是怎么弄得呢?
引用
像QQ空间里的那些透明的下拉框是怎么弄得呢?
用层模拟的吧
基本都 ......
用vc 读取html文件怎么得到css里面定义的字体样式。比如我网页的一段代码为:
<style type="text/css">
<!--
.STYLE7 {font-weight: bold; font-family: "宋体"; color: #F ......