Hallo,
I am trying to convert my old table-layout site into a css layout site. What I am trying to have is something like that:
that means:
a title
a picture and a description on its right
I use this code:
on IE it works quite fine. But on Firefox and Opera the description would be under the pic and not on its right...
do you have a suggestion? thanks
I am trying to convert my old table-layout site into a css layout site. What I am trying to have is something like that:
![print.gif](http://www.davico.ch/__tests/print.gif)
that means:
a title
a picture and a description on its right
I use this code:
Code:
<style>
div.job_record_text {float:left;padding-left:3px;border-left:1px #663300 solid;}
div.job_record_pic {float:left; padding-right:3px;}
h2.subtitle {margin:0px;
font-size:100%;
color:#000000;
padding-bottom:7px;}
div.spacer15 {height:15px;clear:both;}
</style>
<html>
<h2 class="subtitle">Title</h2>
<div class="job_record_pic"><img src="logo_tunis.gif" /></div>
<div class="job_record_text">Text Text Text Text Text Bla bla bla bla bla</div>
<div class="spacer15"></div>
<h2 class="subtitle">Title</h2>
<div class="job_record_pic"><img src="logo_tunis.gif" /></div>
<div class="job_record_text">Text Text Text Text Text Bla bla bla bla bla</div>
... etc
on IE it works quite fine. But on Firefox and Opera the description would be under the pic and not on its right...
do you have a suggestion? thanks