Datalist hyperlink border

M

manikal

I have problem with datalist control that add ugly border around my
thumbnail when I wrap hyperlink tag around that image.

Here is my code:

<asp:DataList ID="DataList1" runat="server" RepeatColumns="3"
RepeatDirection="Horizontal" CellSpacing="5" border="0">
<ItemTemplate>
<a href="#" class="noborder"
onclick="window.open('popup.aspx?img=images<%=category%><%#
DataBinder.Eval(Container.DataItem, "Name") %>','nwwin',
'toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=yes,resizable=yes,width=1024,height=768');">
<img src="<%=appPath%>/images/<%=category%>thumbnails/<%#
DataBinder.Eval(Container.DataItem, "Name") %>" /></a>
</ItemTemplate>
</asp:DataList>

Advice please,
manikal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top