473,835 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="#CDD6D F"
background="ima ges/but28.jpg" onMouseOver="ba ckground='image s/but281.jpg'"
onMouseOut="bac kground='images/but28.jpg'" width="190" height="32"><im g
src="images/trans.gif" border="0" width="15" height="15"
align="baseline ">•&nbsp;<b ><a
href="default.a sp?page=<%=rs(" SubMId")%>&sub= <%=C%>"
target="_self"> <%=rs("SubMR")% ></a></b><br><br></td>
// Nils


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

"news" <ne**@sitebiz.s ewrote in message news:O6******** ******@TK2MSFTN GP05.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="#CDD6D F" background="ima ges/but28.jpg" onMouseOver="ba ckground='image s/but281.jpg'"
onMouseOut="bac kground='images/but28.jpg'" width="190" height="32"><im g src="images/trans.gif" border="0" width="15" height="15"
align="baseline ">•&nbsp;<b ><a href="default.a sp?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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3236
by: Ted Dawson | last post by:
I have a page that writes a hyperlink to files in a folder, but the hyperlink fails with the space in the filename. How can I strip out that space or replace with &nbsp; ? <%Dim objFSO Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Dim objFolder Set objFolder = objFSO.GetFolder("C:\files\")
1
3392
by: Badboy36 | last post by:
Hello user from googlegroups, i made a microsoft access database with front and backend. i created the backend in microsoft access97. for the frontend i made two versions (one for microsoft access 97 and the other one for microsoft acess 2000/2002). my problem is in a field with a hyperlink , which i selected in a table. this hyperlink refer to microsoft word documents on our intranet. i enter the hyperlink in a formular (right...
1
8878
by: Rob | last post by:
I am trying to send an e-mail by clicking a command button using DoCmd.SendObject acSendNoObject. I would like to insert a hyperlink in the message of the email, but the problem is the file path contains a space ex. "\\fnp\ui ts\aug2005". When I try to inset the hyperlink, "\\fnp\ui" is all it recognizes as the path and the rest of the path is treated as regular text. Any help would be appreciated.
0
550
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif images as the ImageURL of the Hyperlink. When a load the page with the controls on it works fine, but sometimes the images are broken, but if i hit refresh i get random selections of the gifs appearing and not appearing. if i hit Back button to a page...
0
238
by: sklett | last post by:
I had this working at some point... then something happened. I have a DataList that is set to repeat vertically, I have an asp:image in each ItemTemplate and the whole thing comes together to work as a navigation control. I noticed that I now have the smallest little gap between the image and the top of the cells, 1-2 pixels. I remember this used to be an issue of having the closing </td> tag on the same line as the <img> tag or...
5
6693
by: Martin Dew | last post by:
Having some problems getting a hyperlink object to work in my repeater control, It displays the text I have asked it to for the hyperlink, but it does not act as a link. My repeater code is below but here is the snippet of my asp:hyperlink object; <asp:HyperLink NavigateUrl="authonly/clientdetails.aspx?searchID="+<%#DataBinder.Eval(Conta iner.DataItem,"CLIENTREF")%> ID="Hyperlink1"><%#DataBinder.Eval(Container.DataItem,...
4
3242
by: trichert | last post by:
Ok , developing a .aspx page with Visual Web Studio (the full page is at the bottom). Basically its a page that displays all my computers and the current logged on user pulling data from a live Altiris database. This works fine, i have added a feature with a link for me to click to run radmin against that computer so i can remote control it. The link shows properly when I hover over it "S:\apps\!drivers\WindowsETC\rview.bat PCNAME". ...
20
3014
by: tshad | last post by:
I had posted this problem earlier and just noticed that the Hyperlink is the problem. Apparently, it doesn't figure out the path correctly. It uses the path of the file it is in, even if it is a control. I have 2 files "displayCompanyJobs.aspx" and "displayCompanyOverview.aspx" which are in both the folder "/jobseeker/" and "/employer/". I have a user control "displayCompanyJobs.ascx" that is in my /applicant/
8
7212
by: removeps-groups | last post by:
Is there any way to control the space between top of browser or frame and document body? What I have is this: There is a simple file test1.html, and file test.html that displays test1.html in an iframe. On the iframe I set marginheight and marginwidth to zero. But there is one line of blank space between the top border of the iframe and the first line of text. However, the iframe's content document's body's offsetHeight gives the...
0
9808
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10523
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10235
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9346
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6966
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5638
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4434
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3995
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3089
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.