Someone tell me why this dont work please.

Ruckus

Hardforum Moderator-in-Chief
Staff member
Joined
Oct 12, 2001
Messages
10,768
Here is the html
Code:
<div class="leftbody"><div id="computer">1<br/>2<br/>3<br/>4<br/><br/>5<br/></div></div>

here is the css
Code:
div.leftbody {
	position: absolute;
	top: 237px;
	left: 20px;
	width: 598px;
	height: 100%;
}

#computer }
	position: absolute;
	left: 20px;
	top: 237px;
	background-image: url('images/computer.gif');
	height: 316px;
	width: 319px;
}
It lines up shows the numbers but not the picture but the directory is acurate.
 
Originally posted by Ruckus
Here is the html
Code:
<div class="leftbody"><div id="computer">1<br/>2<br/>3<br/>4<br/><br/>5<br/></div></div>

here is the css
Code:
div.leftbody {
	position: absolute;
	top: 237px;
	left: 20px;
	width: 598px;
	height: 100%;
}

#computer }
	position: absolute;
	left: 20px;
	top: 237px;
	background-image: url('images/computer.gif');
	height: 316px;
	width: 319px;
}
It lines up shows the numbers but not the picture but the directory is acurate.


the first bracket after #computer is backwards.
 
lol that explains it. Thanks you know how it is cant proofread your own paper :D
 
Back
Top