Trying to my page to look like pic below. It needs to be in a div . here what i
ID: 3550088 • Letter: T
Question
Trying to my page to look like pic below. It needs to be in a div . here what i have
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Exercise Cure</title>
<style type="text/css">
.div6 {
float: left;
margin-left: 5px;
height: 273px;
border-style: solid;
width: 910px;
position: absolute;
top: 53px;
left: 5px;
}
</style>
</head>
<body>
<center><h1>The Exercise Cure</h1></center>
<div class="div6"</div>
</body>
</html>
Explanation / Answer
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Exercise Cure</title>
<style type="text/css">
.div6 {
float: left;
margin-left: 5px;
height: 473px;
border-style: solid;
width: 910px;
position: absolute;
top: 53px;
BackGround-color : Blue ;
left: 25px;
}
</style>
</head>
<body>
<div class="div6">
<center><h1>The Exercise Cure</h1></center>
<center><img src="http://t3.gstatic.com/images?q=tbn:ANd9GcRZV_pMgRZZqZcUu6eHkoUlo5lsUVVeXBEnDR3SITMsrA9qe3HjZA"></center></center>
<center> <font size="5">Price : $1.99 </font> </center>
<center> <img src="http://2.bp.blogspot.com/-DdiC8ozQ_kY/UM8_msqJaeI/AAAAAAAAARY/URW_7MCJUXQ/s1600/Add%2Bto%2BCart%2BButton.png"> </center>
</div>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.