erikkl2000 Posted June 19, 2005 Posted June 19, 2005 Ok, I AM going on a week with a datalist dilemma. :mad: For some reason I can not get rid of the blue (Sometimes Purple) hyperlink line around my pics in my datalist. I have set all the borders to (0) and still no luck. What am i missing????? ===============HTML BELOW================= <asp:datalist id="dl1" runat="server" ShowHeader="False" ShowFooter="False" RepeatDirection="Horizontal" Height="20px" RepeatLayout="Flow" BorderColor="White" BackColor="White" CellPadding="4" GridLines="None" BorderWidth="0px" AlternatingItemStyle-Wrap="false" Visible="true"> <ItemTemplate> <table> <tr> <TD><A href='<%# DataBinder.Eval(Container.DataItem, "ProductName", "Products.aspx?idDept={0}") %>'><IMG src='<%# DataBinder.Eval(Container.DataItem, "ProductImage", "images/{0}") %>'> </A> </TD> </tr> </table> </ItemTemplate> <HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle> </asp:datalist></TD> Quote
bri189a Posted June 19, 2005 Posted June 19, 2005 You say <IMG src='<%# DataBinder.Eval(Container.DataItem, "ProductImage", "images/{0}") %>' border=0> doesn't work? Or were you setting something else's border? Quote
erikkl2000 Posted June 19, 2005 Author Posted June 19, 2005 You say <IMG src='<%# DataBinder.Eval(Container.DataItem, "ProductImage", "images/{0}") %>' border=0> doesn't work? Or were you setting something else's border? That was exactly the problem. I can not believe that i never thought to set the border attribute for that control. I know what i was doing; i was assuming that since i set the border in the propertys menu that, that would of taken care of the problem. Thank you! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.