Hello,

I've been working on a new charity website; http://galgal.org.uk. As you can see there is black box, this is the slider I've just got to put the images in now. However, I was wondering how to get a text box either side. The same as "test" either side and then remove the test box and the other two images.

Thanks.

Recommended Answers

You can place divs side by side by using the CSS style display: inline-block; for each of them. This makes block elements act like inline elements (i.e. line up on the same line not under each other).

Jump to Post

All 3 Replies

You can place divs side by side by using the CSS style display: inline-block; for each of them. This makes block elements act like inline elements (i.e. line up on the same line not under each other).

o.O <-- Confused!

Why not use floats to position divs side by side? Thats what the float property is for.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.