I want to make an image in the left and the text on the right.
This is a jsfiddle http://jsfiddle.net/VnnZ2/
I put the image in a div with class imageClass
and I put the text in a div with class information
and I gave the imageClass
left float and the information
right float.
I also tried to make this:
display: inline-block;
for both classes but still the result as you see in the jsfiddle.
I tried the same css with label
and input
and it works but I don't know why it is not working with div
and div
.
Plus, I already give the imageClass
a width 200 and the informaton
class a width 300 and the ul
width 500px so I tried all what I could
Update 1
Sorry I gave you the wrong jsfiddle by mistake, this is the correct one http://jsfiddle.net/VnnZ2/9/