Laying out your divs


I keep getting this error, and I'm not sure why. "Oops, try again. Did you create a

with an ID of 'header'?"

		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
	    <div id:"header"></div>
	    <div class:"left"></div>
	    <div class:"right"></div>
	    <div id:"footer"></div>


IDs are assigned to HTML elements with the word id and an equals sign:

<div id="first"></div>
<div id="second"></div>
<p id="intro"></p>

 <div id:"header"></div> //wrong

so write = instead of :


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.