<style>
#mainDiv{
position:absolute;
top:50%;
left:50%;
margin-top:-300px;
margin-left:-300px;
width:600px;
height:600px;
border:1px solid blue;
}
</style>
<body>
<div id="mainDiv">
</div>
</body& ......
网上看到的css做的下拉菜单,为什么去掉了 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >就不能用呢?
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml ......
在丁丁网(http://www.ddmap.com/)的“热门搜索”下面有这么一个效果:
结婚 旅游 美食 购物 娱乐 医疗 汽车 培训 保健
比如:鼠标放到“结婚”文字上 就显示一个层 把关于“结婚”的小类显示在那个层里 这个怎么实现呀?
请教各位!!
帮顶了
......
总看到CSS架构的字眼,但是没有了解到时怎么样的架构。
哪位能给个解释。 具体的这个客户端 应用服务器 数据库服务器是怎么工作的。
举个例子也可以。
http://baike.baidu.com/view/268856.htm
你说的应该是C/S架构。
css是Cascading style Sheets的简称,中文译作“层叠样式表单”,实现网页特效。
......
code 1:
HTML code:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html>
<meta http-equiv="Content-Type" content="text/html;" charset="gb2312"></meta>
<he ......
HTML code:
<style type="text/css">
#div_show1{
padding:0px
filter:light();
filter:alpha(opacity=100);
}
</style>
HTML code:
<div id="div_show" onmouseover="over();" onmouseout="out();&quo ......