Hi, first of all, let me say a BIG thank you, for writting this book, i'm reading it now, i'm starting to learn how to create websites, and i find the book extremelly helpfull, but here's my question:
In lesson 5, on page 101, there's this code for creating 3 boxes alongside eachother, but the thing is, that the boxes don't appear like the book, they sit on top of eachother and i only see the blue one... the code on the book is this:
Quote:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
.box {
height:200px;
width:200px;
display:inline-block
}
</style>
</head>
<body>
<div class="box" style="background:red"/>
<div id="middleBox" class="box" style="background:green"/>
<div id="lastBox" class="box" style="background:blue"/>
</body>
</html>
|
what's wrong here? i'm using dreamweaver cs6 and notepad++ for coding
thanks ;)
EDIT: it's the "div's" that's wrong, it has to be "<div...></div>" :)