I used CSS2:
.leftNav {
width:200px;
float:left;
display:inline-block;
}
.rightPara{
margin-left:210px;
}
and in HTML:
<div>
<a href="web.com">
<span class="leftNav">
<img src="bla.gif" width="40" height="40" />
</span>
<span class="rightPara">
<h2>header<h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur imperdiet tortor tristique, tempus nunc quis, ornare mauris. Mauris in interdum lectus. Integer nulla ante, ultrices non vulputate vel, tincidunt in urna. Donec et congue mauris, non placerat nisl. Integer volutpat auctor erat, aliquet aliquam velit sagittis nec. Quisque pharetra aliquam tincidunt. Etiam id diam lobortis, porta nunc nec, accumsan tortor. Duis in nisi vitae eros bibendum dignissim. Sed commodo massa egestas placerat pellentesque.</p>
<p>In facilisis congue purus eget tempus. Integer a vestibulum tellus. In at orci malesuada, egestas neque quis, cursus risus. Etiam iaculis, velit id fringilla fermentum, leo nibh bibendum orci, eu facilisis risus mi ac risus. Nullam eu odio feugiat, venenatis orci vel, commodo quam. Integer in fringilla leo. Sed placerat varius facilisis. Maecenas vitae libero neque.</p>
</span>
</a>
</div>
But no use! The paragraph is messed with left column.
For example, it should be like:
// ---------------------------
// | ..... | ............... |
// | ..... | ............... |
// | ..... | ............... |
// | ..... | ............... |
// | ..... | ............... |
// ---------------------------
Why do I need in SPAN is, I want to wrap them with A (anchor) element. (DIV does not get wrapped with an inline element, like Anchor).
If it is not possible, guide me to make two columns as a link? In other words, two columns' contents should be wrapped by a link - anchor element).
Is it possible?