.myinput{
font-size:9pt
color:#000066
height:18pt
widht:80pt
border-bottom:1px solid #003300
border-top-color:yellow
background:#000080
}
(把黄色转换为16进制把,我记不住)
第二个问题:
a:hover{
font-size:10pt
color:#000080
text-decoration:none
}
第三个问题:
body{
font-size:10pt
color:#000080
background:url(image/bj.jpg) transparent center repeat fixed
}
第四个问题:
.mybutton{
font-size:10pt
color:#000080
letter-spacing:5pt
background:#808080
border:1px solid #000080
}
应该就这样子把
也许有笔下误
1.<!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/htmlcharset=utf-8" />
<title>无标题文档</title>
<link href="style/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
</body>
</html>
css文件里写入
@charset "utf-8"
body {
background:red
}
2.
<!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/htmlcharset=utf-8" />
<title>无标题文档</title>
<link href="style/index.css" rel="stylesheet" type="text/css" />
<style type="text/css">
p{
height:100px
width:100px
background:#00F
}
</style>
</head>
<body>
<div style="margin-bottom:10pxheight:100pxwidth:100pxbackground:green"></div>
<p></p>
</body>
</html>
css文件里写入
@charset "utf-8"
body {
background:red
}
3.
第三个问题是要你自己动手了
你直接就把上面的属性高宽值改变然后刷新下就成了
4.
在css文件中写入下面的代码
a{
text-decoration:none
}