Datalist hyperlink border

Discussion in 'ASP .Net' started by manikal, Nov 8, 2006.

  1. manikal

    manikal Guest

    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
    manikal, Nov 8, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nevyn Twyll
    Replies:
    8
    Views:
    1,832
  2. tshad
    Replies:
    0
    Views:
    2,228
    tshad
    Jan 31, 2005
  3. phl
    Replies:
    1
    Views:
    4,319
    Martin Jay
    Jun 8, 2006
  4. Coder
    Replies:
    1
    Views:
    672
    Cowboy \(Gregory A. Beamer\)
    Jun 24, 2006
  5. =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=

    border-color: #003366; border-width: 2px;

    =?UTF-8?B?TWFydGluIFDDtnBwaW5n?=, Jul 17, 2006, in forum: HTML
    Replies:
    64
    Views:
    3,457
    Adrienne Boswell
    Jul 30, 2006
Loading...

Share This Page