asp.net - Custom conrol trouble using ImageButtons Adds Whitespace -
i creating website , i'm stuck creating ascx user control.
i want create navigation section
and place in corner of pages (people have able click on buttons).
what tried doing imagebuttons transparent background. idea:
but in designer, i'm getting whitespace (and that's bad!).
code:
<%@ command language="c#" autoeventwireup="true" codebehind="nav.ascx.cs" inherits="epicrocketstudios.nav" %> <asp:imagebutton id="imagebutton1" runat="server" height="75px" imageurl="~/images/home.png" width="112px" /> <asp:imagebutton id="imagebutton2" runat="server" imageurl="~/images/about.png" /> <br /> <asp:imagebutton id="imagebutton3" runat="server" imageurl="~/images/forum.png" /> <asp:imagebutton id="imagebutton4" runat="server" imageurl="~/images/contact.png" /> <br /> <asp:imagebutton id="imagebutton5" runat="server" height="135px" imageurl="~/images/downloads.png" width="142px" /> when drag page, it's worse!
that still without css stuff...
is there proper way of creating this? or impossible?
sounds want create image map. never used them, remember them! did little google search , played around @ this site, may need it. or teach yourself
asp.net imagebutton ascx
No comments:
Post a Comment