In the following snippet, the text displays below the image for monitor display resolutions of 1024X768 or less. At higher resolutions, the text displays to the right of the image. Am rendering with IE. How does one display the text below the image at all resolutions?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
p.testclass { font-style: italic ;
margin-left: 0.5cm ;
margin-right: 0.5cm }
body {
background-image:url('../images/grey.gif');
color: black;
}
img {
margin:2px;
border:2px solid #009cff;
height:auto;
width:auto;
float:left;
}
-->
</style>
</head>
<body>
<img src="../images/mylogo.gif" >
<p class=testclass >
Now is the time for all good men to come to the aid of their country.
</body>
</html>