Forum Moderators: not2easy
Please can anybody tell me what I am doing wrong?
<style type="text/css">
<!--
body {
background-color: #CCCCCC;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #999999;
text-align: justify;
}
#container {
width: 600px;
background-color: #FFFFFF;
padding: 20px;
}
.floatright {
clear: right;
float: right;
margin-bottom: 15px;
margin-left: 15px;
}
.columntext {
width: 500px;
}
-->
</style>
</head>
<body>
<div id="container">
<img src="images/fig-1.gif" width="180" height="150" class="floatright" />
<img src="images/fig-2.gif" width="145" height="125" class="floatright" />
<img src="images/fig-3.gif" width="145" height="125" class="floatright" />
<div class="columntext">
<p>Lorem ipsum [about 125 - 150 words]. </p>
<p>Lorem ipsum [about 125 - 150 words]. </p>
<p>Lorem ipsum [about 125 - 150 words]. </p>
<p>Lorem ipsum [about 125 - 150 words]. </p>
<p>Lorem ipsum [about 125 - 150 words]. </p>
<p>Lorem ipsum [about 125 - 150 words]. </p>
</div>
</div>
</body>
#container{width:800px;}
Or, you could declare this:
.columntext{width:400px;}
Either way is good, depending upon your layout constraints.