473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Hyperlinks....?? Am I in the right place?

Hi there!

I am trying to just highlight a few hyperlinks that I have. I can do the hyperlink coding, just not able to change its colour and or highlight it. Can anyone help me please.

Thanks.
Jun 30 '07 #1
6 1513
bartonc
6,596 Expert 4TB
Hi there!

I am trying to just highlight a few hyperlinks that I have. I can do the hyperlink coding, just not able to change its colour and or highlight it. Can anyone help me please.

Thanks.
It seems to me that an easy way to learn this stuff is right-click a page that is doing what you want to do (much as this page is doing) and "view source". That's how I'd learn HTML if I could bare to look at it with out falling asleep.
Jun 30 '07 #2
drhowarddrfine
7,435 Expert 4TB
To change the color of the hyperlink font and the background:
a{
color: your-color;
background-color: your-color;
}
Jun 30 '07 #3
drhowarddrfine
7,435 Expert 4TB
via PM:
thanks for getting back to me. So the coding that you provided me with, do I just place that in along with my hyperlink? As for example the hyperlink I'll be using is:

<a href="http://www.myspace.com/internelliedesigns">InternellieDesigns</a>

Where would I place what YOU provided me with in that link? Please. Many thanks.
Oh. Myspace. The horror.

The markup I showed you is CSS, so it needs to go wherever the CSS file is or at the head of the document between the style tags. However, it may be necessary to be more specific as to which <a> tag to change.
Jul 1 '07 #4
via PM:

Oh. Myspace. The horror.

The markup I showed you is CSS, so it needs to go wherever the CSS file is or at the head of the document between the style tags. However, it may be necessary to be more specific as to which <a> tag to change.
Ok..

Due to me not being very sure! lol...honestly I am a scientist! I am not built for HTML jargon! lol...but sure!

The hyperlink I am using is the following: InternellieDesigns

And all I wanna do is to change its colour, or preferrably highlight it. For it to go on to myspace. Many thanks for helping me out on this.
Jul 3 '07 #5
drhowarddrfine
7,435 Expert 4TB
I don't know which link you have in mind. Some of them are graphics so it would be more difficult if not impossible. If it's text alone, then it's easy.

I don't know if you have access to the CSS so I'll show how it can be done "inline" by editing the HTML.

Where your "Email Internellie" link is, change this:
<p><a href="mailto:internelliedesigns@yahoo.co.uk">Email Internellie Designs</a></p>

to this:
<p><a style="color:#f00" href="mailto:internelliedesigns@yahoo.co.uk">Email Internellie Designs</a></p>

#f00 is just the hex representation of "red". You can use the actual color name there if you wish: red, blue, green, etc.

To highlight on hovering the mouse is more complicated. You need access to the CSS file. Actually, there is an inline way that should work but I haven't been able to.
Jul 3 '07 #6
drhowarddrfine
7,435 Expert 4TB
You can do this. It's against the rules but it works. Put this as close to the top of your page as you can:
<style type="text/css">
a:hover{
background-color:yellow
}

This rule set isn't supposed to go there but, if it works ....
Jul 3 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Imran | last post by:
Hi, I am attempting to create a CSS-driven website, in that I want to be able to control the display/content from the CSS file. I do not want to use tables. On a page, I have a background...
1
by: John Katsaridas | last post by:
I have an html document with a couple of hyperlinks. I start scrolling from the top of the webpage downwards. When a certain hyperlink goes out of the screen as I am scrolling (ie: the hyperlink...
4
by: bobdedogh | last post by:
can anyone add live hyperlinks to the sortable table made by the code supplied by Machi, or know of a simple alternative bob Machi wrote Mar 10 1999, 8:00 am >>>>>>>>>>>>>> .... Hello...
1
by: Darryl Neale | last post by:
I have been tasked with reviving an old database that stopped working about 3 years ago :( On one of the tabs is a list of links to other databases utilising the Hyperlink feature of MS Access...
9
by: Viken Karaguesian | last post by:
Hello all, I'm making a calendar section in a website. Each month is its own page and navigated by Previous / Next links. I have it working now with standard hyperlinks, but I want to learn how...
3
by: Garth Wells | last post by:
used the following "classic ASP" approach to build a dynamic menu, but would like to know the proper way to implement the same functionality using a .Net technique (e.g., placing the code in the...
1
by: Janna | last post by:
Hello tech savvy gurus! I hope someone can help me! THE PROBLEM: "Cannot open specified file" when I click on a hyperlink in an Access database when it is located on our server. THE...
1
by: rcoco | last post by:
Hi all, I have this big problem with hyperlinks I would appriciate any help please. My web site has two datagrids on the same page. And one has a list of names of the users which are in form of...
92
by: Erwin Moller | last post by:
Hi group, I encoutered page validation error, but I don't know a way around. The page has the following doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...

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.