View Single Post
Old 07-28-2009, 08:26 AM  
Machete_
WINNING!
 
Industry Role:
Join Date: Oct 2002
Posts: 14,579
CSS question/problem

Ok - let me try and explain the problem

I have a list where I want to add a few pictures, like this:

<li><image 01><image 02><image 03><image 04></li>


I want the image to be sorounded by a border and a caption text below.


I have it on a blog, but i suck at CSS and my programmer went on vacation without telling me.

I was hoping for a solution where I add the style to the global CSS file and could write something like
<li><div class="imgbox><image 01>some text</div> <div class="imgbox><image 02>some text</div> <div class="imgbox><image 03>some text</div> </li>

But if I do that, it adds a linebreak.. what am i doing wrong here?
Machete_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook