R
ragtek
Guest
ATM I'm having this:
which outputs
I want to have the checkbox "inside" of the image, like with the vB friends
If i try
it places all checkboxes in the left corner
Anybody able to help me?
Code:
<dd>
<ul>
<xen:foreach loop="$friends" key="$userid" value="$username">
<li><label>
<img src="https://graph.facebook.com/{$userid}/picture?type=square" />
<input type="checkbox" name="facebookfriend[]" value="{$userid}" />
{$username}</label></li>
</xen:foreach>
</ul>
</dd>
I want to have the checkbox "inside" of the image, like with the vB friends
If i try
Code:
<dd>
<ul>
<xen:foreach loop="$friends" key="$userid" value="$username">
<li><label>
<img src="{$url.$userid}" />
<input type="checkbox" name="facebookfriend[]" value="{$userid}" style="position: absolute;
left: 4px;
top: 4px;" />
{$username}</label></li>
</xen:foreach>
</ul>
</dd>
Anybody able to help me?