2009. 7. 27. 14:38
.Net Project/CSS 2.0
반응형
<!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>
<title>Class</title>
<!-- input { background-color:Yellow; }-->
<style type="text/css">
.yellowButton { background-color:Yellow;}
</style>
</head>
<body>
<div>
<!--클래스만들어서 버튼에 속성 이용-->
<input id="Button1" type="button" value="button" class="yellowButton" />
<input id="Button2" type="button" value="button" class="yellowButton" /><br />
<textarea id="TextArea1" cols="40" rows="3" class="yellowButton"></textarea>
</div>
</body>
</html>
반응형
'.Net Project > CSS 2.0' 카테고리의 다른 글
06장 우선순위 (0) | 2009.07.27 |
---|---|
05장 ID 속성값 (0) | 2009.07.27 |
03장 TagDirect (0) | 2009.07.27 |
02장 StyleSeet (0) | 2009.07.27 |
01장 StyleSeetStart (0) | 2009.07.27 |