We would like to know how to insert Picture into a 2-column text.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.col1 {<!--from w w w . j a va 2 s.c o m-->
float: left;
width: 200px;
border: 1px solid black;
height: 400px;
}
.col2 {
width: 200px;
border: 1px solid red;
height: 400px;
float: left;
}
</style>
</head>
<body>
<div class="col1">text</div>
<div class="col2">
<img src="http://placehold.it/200x100">
<div class="col2text">text</div>
</div>
</body>
</html>
The code above is rendered as follows: