Jonathan Carter wrote:
That would be the my desired way of doing it, but like I said, the list
is generated dynamically, it's not static HTML. There could be any
number of list items that are displaying any image that is uploaded by
the user, so I wouldn't know what image to make as the background for
each item.
isn't that going to be a bit messy as a horizontal list?
an unknown width caused by unknown number of items isn't the best plan
for horizontal.
and if you can insert the <img> element dynamically then you can
insert <li style="background : #fff url(../directory/image.jpg)
no-repeat 50% 0;">The text goes here with adequate top padding for the
image to be seen</li>
can't you?
or is what you're trying to do better suited to a table?
and is this really a navigation list? or a series of images uploaded
(an image gallery) and therefore more suited to floated divs? which
will wrap onto two rows if there are more than the width available....
;o)
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************