<!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>
<style>
.btn{background:#f00}
</style>
</head>
<body>
<label>
<input name="button" type="submit" class="btn" id="button" value="确认" />
</label>
</body>
</html>
补充一下,这个是按钮背景变成红色,要是字体颜色可以在样式里面写成:color:#f00
<div id="header" style="background-color:red">这里是header的内容</div><div id="content">
<div id="left" style="float:leftbackground-color:blue">这里是left的内容</div>
<div id="right" style="float:leftmargin-left:5pxbackground-color:green">这里是right内容</div>
</div>
<div id="footer" style=“margin-top:5pxbackground-color:yellow">这里是footer的内容</div>