Aleksej Jovanovic Aleksej Jovanovic - 4 months ago 21
HTML Question

Image placement

I've spent couple hours trying to make this work, but it didn't pay off.

I want to make little shop for my Minecraft server.

Big images: image of that buyer is going to buy.

Small images: hyperlinked images that redirect to PayPal paying thing.

I want it to look like this:

image1

I don't want whole code, just small part or explanation. I'm not HTML/CSS expert.

Thanks.

Answer

You can start with something like this:

div { /* <- use a class here! */
  float: left;
  padding: 10px;
}

But you'll need a lot more... (First of all: Instead of just "div" you'll need to use a class, which you also apply to the DIVs in your HTML code)

see a simple example here: http://codepen.io/anon/pen/zBRraB