Hi,
Inside a div I wish to place a header, i.e. a title, and an image beside it. However, the image keeps on appearing below the title and not beside it. Is there any way I can prevent this?
Inside a div I wish to place a header, i.e. a title, and an image beside it. However, the image keeps on appearing below the title and not beside it. Is there any way I can prevent this?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<style type="text/css">
#HEADER
{ width: 1560px;
height: 190px;
background-color: #00FF7F;
padding-top: 10px;
}
#HEADER h1
{ font-size: 43px;
font-weight: bold;
font-family: century gothic;
color: #FF4500;
letter-spacing: 3px;
}
</style>
</head>
<body>
<div id="HEADER">
<h1>My Title</h1>
<img src="ImgA.jpg"
alt="" width="60" height="60"/>
</div>
</body>
</html>