老薛给我来了一道迅雷W3C网页设计师考题
作者:knitter 日期:2008-10-22
昨天,在群里老薛说要跳糟,我们建议他去迅雷试试,结果他打退堂鼓
,他为了说明很难,找了一题迅雷w3c网页设计师的笔试题来,如图:

我按题目写了一个,不知是否正确,大家PP:
HTML代码
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
哈哈,老薛加油……,我站在很远的地方照着你
,他为了说明很难,找了一题迅雷w3c网页设计师的笔试题来,如图:
我按题目写了一个,不知是否正确,大家PP:

HTML代码[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
哈哈,老薛加油……,我站在很远的地方照着你
评论: 4 | 引用: 0 | 查看次数: 969
测试OPERA下不支持修改了一下你的CSS可以支持OPERA,IE,FF,SAFARI了
body {
font-size:12px;
}
ul {
width:300px;
list-style:none;
margin: 0px;
padding: 0px;
}
li {
width:230px;
height:20px;
line-height:20px;
overflow:hidden;
padding-right: 70px;
clear: both;
float: left;
}
a {
float:left;
color:#666;
text-decoration:none;
height: 20px;
overflow: hidden;
}
span {
float:left;
display:block;
width:50px;
color:#090;
margin-right: -70px;
white-space: nowrap;
padding-left: 10px;
}
body {
font-size:12px;
}
ul {
width:300px;
list-style:none;
margin: 0px;
padding: 0px;
}
li {
width:230px;
height:20px;
line-height:20px;
overflow:hidden;
padding-right: 70px;
clear: both;
float: left;
}
a {
float:left;
color:#666;
text-decoration:none;
height: 20px;
overflow: hidden;
}
span {
float:left;
display:block;
width:50px;
color:#090;
margin-right: -70px;
white-space: nowrap;
padding-left: 10px;
}
不要再日了,已经有一个太阳了,哈哈 

我。日
发表评论
上一篇
下一篇


文章来自:
Tags: 






font-size: 12px;
line-height: 20px;
margin: 0px;
padding: 0px;
list-style-type: none;
}
ul {
width: 300px;
overflow: hidden;
}
li {
height: 20px;
overflow: hidden;
clear: both;
padding-right: 80px;
}
a {
text-decoration: none;
color: #626262;
clear: none;
height: 20px;
overflow: hidden;
float: left;
}
span {
color: #1C91FF;
font-style: normal;
white-space: nowrap;
padding-left: 10px;
float: left;
position: relative;
margin-right: -90px;
}
用这个CSS也可以,无聊看见这篇文章让我感触良多