For a course in university , we have to make a website in Drupal. The problem is, we don't know a lot of HTML and CSS (except for the information we can find on internet). So I don't really know how to solve my problem.

Have a look at this image:

enter image description here

You can see all the images are shown underneath each other. I want them in a horizontal line, like some kind of grid (4 images next to each other and then a new row with another 4 images ).

How can I solve this?

closed as off-topic by Krishna Mohan, Mołot, kiamlaluno Dec 9 '14 at 19:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on programming, PHP, SQL, etc. that do not relate directly to Drupal are off-topic here, but can be asked on Stack Overflow." – Krishna Mohan, kiamlaluno
If this question can be reworded to fit the rules in the help center, please edit the question.


It's not about Drupal itself. You need some css knowledge.

Install firebug (for firefox) first and then check your images' class via firebug.

Then add something like that to your css file:

.my-image { float: left; width: 25% }

If you don't know how to do these, learn a little css and html to survive.

Not the answer you're looking for? Browse other questions tagged or ask your own question.