tags:

views:

81

answers:

1

Hi,

I am using MySql and PHP. I have a table groupXmembers that holds members of a group. I know a simple sql query will give me the members in resultset.

But I want to display these members in grid in my sidebar. I am looking for a copy-paste HTML CSS using which I can display users along with their pictures. I know how to display pictures. just want to know HTML and CSS.

Thank You AJ

+2  A: 

Semantically seen you want a list with users. So you should use a list (<ul>)

  • Username
  • Username
<ul>
  <li><img src="test.jpg" alt="test image" />Username</li>
  <li><img src="test.jpg" alt="test image" />Username</li>
</ul>
Robert Cabri