472,139 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,139 software developers and data experts.

Add space to my hyperlink

Hello,

I have a webpage with some hyperlink within a button. The problem is that
some of my hyperlink is shorter that others and therefore the user must
navigate to the hyperlink to click on the link!

The thing I want is to make the button more user-friendly (user can click
anywhere on the button) and not only on the hyperlink within the button!!!
Here is my code:
<td align="left" valign="bottom" bgcolor="#CDD6DF"
background="images/but28.jpg" onMouseOver="background='images/but281.jpg'"
onMouseOut="background='images/but28.jpg'" width="190" height="32"><img
src="images/trans.gif" border="0" width="15" height="15"
align="baseline">•&nbsp;<b><a
href="default.asp?page=<%=rs("SubMId")%>&sub=<%=C% >"
target="_self"><%=rs("SubMR")%></a></b><br><br></td>
// Nils


Jun 11 '07 #1
2 2610
http://www.htmlcodetutorial.com/forms/_BUTTON.html

"news" <ne**@sitebiz.sewrote in message news:O6**************@TK2MSFTNGP05.phx.gbl...
Hello,

I have a webpage with some hyperlink within a button. The problem is that some of my hyperlink is shorter that others and
therefore the user must navigate to the hyperlink to click on the link!

The thing I want is to make the button more user-friendly (user can click anywhere on the button) and not only on the hyperlink
within the button!!!
Here is my code:
<td align="left" valign="bottom" bgcolor="#CDD6DF" background="images/but28.jpg" onMouseOver="background='images/but281.jpg'"
onMouseOut="background='images/but28.jpg'" width="190" height="32"><img src="images/trans.gif" border="0" width="15" height="15"
align="baseline">•&nbsp;<b><a href="default.asp?page=<%=rs("SubMId")%>&sub=<%=C% >"
target="_self"><%=rs("SubMR")%></a></b><br><br></td>
// Nils


Jun 11 '07 #2
news wrote:
Hello,

I have a webpage with some hyperlink within a button. The problem is
that some of my hyperlink is shorter that others and therefore the
user must navigate to the hyperlink to click on the link!

The thing I want is to make the button more user-friendly (user can
click anywhere on the button) and not only on the hyperlink within
the button!!!

HTML/CSS questions will get better response in one of the newsgroups
devoted
to those topics (http://groups.google.com/groups/dir?sel=33584039).

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 11 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Ted Dawson | last post: by
reply views Thread by Ryan Harvey | last post: by
reply views Thread by sklett | last post: by
5 posts views Thread by Martin Dew | last post: by
4 posts views Thread by trichert | last post: by
20 posts views Thread by tshad | last post: by
8 posts views Thread by removeps-groups | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.