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.


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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.