css兼容firefox和ie8置中问题 - Web 开发 / HTML(CSS)
我的页面中现在在ie8和firefox下全部页面是右靠的
希望哪位牛人帮忙解决下
css代码如下
CSS code:
/*------------全局-----------*/
@charset "gb2312";
body{ text-align:center; margin-left:auto; margin-right:auto; margin-top:0px; margin-bottom:0px; color:#000; font-
size:12px; font-family:"宋体";}
a{color:#000;text-decoration:none}
a:hover{color:#F00; text-decoration:none}
img{border:0px}
ul{ list-style:none;margin:0;padding:0;}
li{list-style-type:none;margin:0;padding:0;}
h1,h3{ margin:0px; padding:0px; display:inline; font-size:12px; }
h1{float:left; font-size:12px; font-weight:100; color:#003399; display:inline;}
h3{color:#FF0000;}
h2{ margin:0px; padding:0px; font-size:12px; font-weight:100; display:inline;}
/*------------头部-----------*/
#center{ width:982px;}
#HF_Head{}
.HF_Top{ height:25px; border:1px #BEC9CB solid; border-top:none;background:#F2FAFD; line-height:25px;}
.HF_Top .Left{
width:600px;
height:25px;
float:left;
padding-left: 15px;
text-align:left;
}
.HF_Top .Right{ width:265px; height:25px; float:right}
.HF_Top .Right a{ margin:0px 7px;}
.HF_Menu{height:60px; margin:5px 0px;}
.HF_Menu .Logo{ width:160px; height:60px; float:left;}
.HF_Menu .Help{ width:55px; height:60px; float:left; margin:0px 13px;}
.HF_Menu .Banner{ width:468px; height:60px; float:left;}
.HF_Menu
相关问答:
form表单下拉框的蓝色怎么去掉呢,我想把下拉框的颜色设为透明的
may be no way.
像QQ空间里的那些透明的下拉框是怎么弄得呢?
引用
像QQ空间里的那些透明的下拉框是怎么弄得呢?
用层模拟的吧
基本都 ......
JSP生成HTML静态页面
1.有代码的朋友贴个代码
2.有的好的生成方案说个方案
过年放个炮 祝贺祝贺!
JSP生成静态页面???
还要用方案???
不明白
引用
JSP生成静态页面???
还要用方案???
不明 ......
.css1 .css2 #objid {OVERFLOW: scroll;...}
.css1 .css3 {...}
把具有共同样式的写到一起了 好维护
中间无逗号,属于样式嵌套
样式的共同的地方写在一起,可以省掉不必要的代码行~
这个就是代码 ......
li {cursor: default;display: block; white-space: nowrap;height: 16px;text-decoration: none;padding-top:3px;outline: none;}
<ul id="red" class="treeview-red">
<li>&l ......
我从后台获取了下边一段html代码但我现在想吧<span></span>里的内容过滤去掉谁能给个好的,简单的方法
多谢各位了……
<html>
<body>
<div>
<sp ......