따라서 현재 div
HTML 스크립트 의 태그에 문제가 있습니다. 어떤 이유로 여백, 너비, 높이 등을 사용하여 크기를 조정하는 방법을 알아낼 수없는 것 같습니다.
다음은 코드입니다.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Change The Vibe</title>
<style type="text/css">
.titleBox
{
margin-left: 300px;
font-size: 36px;
margin-right: 300px;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
background-color: green;
margin-top: -50px;
width: 1000;
}
.titleHeader
{
color: white;
}
</style>
</head>
<body>
<div class="titleBox">
<h1 class="titleHeader">Change The Vibe</h1>
</div>
</body>
</html>
또한 현재 드림위버를 사용하여 스크립트를 편집하고 있으므로 내 문제와 관련이 있다면 알고 싶습니다.
너비 뒤에 px가 필요합니다.
width = 1000px;
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다