CSS鼠标经过
#hoverpage ul#outer :hover div {position:absolute; left:0; top:0;}(这句话在代码中用粉红色高亮显示)
这句话帮我解释哈
尤其是 " 空格+:hover div "不解其意
为什么这一句话就可以控制鼠标经过时不同链接的变化(我分别去掉与不去掉测试过)
以下是代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档 </title>
<style type="text/css">
#hoverpage ul#outer li div p {font-size:12px; line-height:16px; margin:5px 0 15px 0;}
#hoverpage ul#outer li div h2 {line-height:1em; color:#585; font-size:1.5em; font-weight:normal; margin-top:0; font-family:verdana, sans-serif;}
#hoverpage ul#outer li div h3 {line-height:1em; color:#66a; font-size:1.2em; font-weight:normal; margin-top:0;}
#hoverpage ul#outer li div h3.clear {clear:left;}
#hoverpage {width:650px; height:450px; border:1px solid #aaa; background:#fff; position:relative; z-index:500; overflow:hidden; text-align:left;}
#hoverpage ul#outer {background:transparent; padding:0; margin:0;list-style:none;}
#hoverpage ul#outer li.page {display:inline;}
相关问答:
直接看不到的话,http://hiphotos.baidu.com/%CB%AE%CC%EC/pic/item/bd10cdfc07c1c4d2fc037f24.jpg
要实现图片中的三种效果:
1、button的样式
2、改变下拉列表框 样式
3、就是鼠标放到字体上时显示 ......
现在正在做ASP.NET 动态生成静态页
现在问题是这样
我的模板页我放在了一个文件夹中 比如Template/Template.html
然后我通过程序自动生成HTML页面
生成的HTML 是放在不同的文件夹下 比如mainFol ......
css制作的弹出菜单,鼠标移出后菜单消失,我现在想让鼠标移出后菜单保留。就像伊利公司(www.yili.com)一样。
是不是要改菜单弹出的js或css代码。代码如下:就是不知如何改?
function menuFix()
{var sfEls = doc ......
给个下载网址或者发到我邮箱里就更感谢了~~~~
我发你
你邮箱是多少
cove2@163.com
我忘了 多谢多谢
到网上搜下,好多
说实在的,我认为看电子书根本学不好东西!
引用
说实在的 ......