Jump to content

Space between image and text


Recommended Posts

Hey everyone.

I wanted to find out how to make space between my image and text. Right now the page looks somewhat like this: http://jsfiddle.net/gmhuk3kq/4/

An image and text have no space between them like I want to. I tried to do margin and padding but they didn't work.

I'm not really good with code (I'm a beginner) so I don't know maybe I'm doing something wrong.

And I want my text not to be under the picture but for it go downwards not under the image.


Thank you for whoever answers.

Link to comment
Share on other sites

In your jsfiddle example the image hasn't loaded.


Applying padding directly on the img element should put space between it and the text but you need an image to actually load to test it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...