Dlaczego nie działa atrybut width? Dodam, że robiłem z poradnika Kurs HTML odc.2. Pomocy!
<!DOCTYPE HTML>
<html lang="pl" >
<head>
<meta charset="utf-8" />
<title>Tytuł</title>
<meta name="description" content="opis" />
<meta name="keywords" content="słowakluczowe" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div id="box">
<div id="one">
<h4>Przkładowy tekst</h4>
</div>
</div>
</body>
</html>
<style>
#box
{
width: 100px;
}
#one
{
background-color: red;
}
</style>