I've been using HTML/CSS for ~2 weeks now.
I'm having trouble getting the text on my site to sit right next to the puppy thumbnail, rather than under it.
If I float both the text and the picture, they are side by side, but the text is first, not the picture. Why would this be? The text comes AFTER the picture in the HTML.
Here is the JSFiddle. I've never used JSF before so I hope I did it correctly. I don't know why the pictures in the JSF aren't working (the external link ones (puppies)).
When lining up images and text, I like to use inline or inline-block elements rather than put them inside a block element. Here is an example that should work for your case in particular.
Html
Check this out http://jsfiddle.net/nhv54/3/
Things to notice in CSS
And every div you want content to be on one line should have class "pull-left"
You can also set
vertical-align: middle;
on whatever tag your text is inside, presumably ap
.You could use inline-blocks
I updated your JSFIDDLE
http://jsfiddle.net/nhv54/16/