Home / Internet & Networking / Web design / HTML links
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: 1 [2]  All - (Bottom) Print
Author Topic: HTML links  (Read 5212 times)
Astoria
Intermediate



Posts: 145


« Reply #15 on: March 03, 2008, 11:24:31 AM »

the problem that i am having is that the "name" side of the link highlights when the mouse hovers over it like all my other links. Is there any way to stop this so that the text is normal?

In my browsers (IE7 and FF), the "name" side of the link already shows up as normal text.

If in your browser(s) the "name" side does show as hyperlinks, simply change:

Code: [Select]
<a name="lager">Lager</a>

into:

Code: [Select]
<a name="lager"></a>Lager



@soybean: I do assume that the "name" side appears as normal text in your browser as well?
IP logged



soybean
Genius



Thanked: 324
Posts: 12,316

Computer: Specs
Experience: Experienced
OS: Windows 7
The first soybean ever to learn the computer.

« Reply #16 on: March 03, 2008, 11:46:44 AM »

Quote
@soybean: I do assume that the "name" side appears as normal text in your browser as well?
Yes.  It's normal text, in bold since he does have bold coded in to his file.
IP logged


1Pman
Topic Starter
Starter



Posts: 4


« Reply #17 on: March 03, 2008, 06:25:16 PM »

I should have noted that i have an external css page with "a.hover" attribute which adds effects to all the links. The problem is "not" with the click able links in the top portion of the document. It takes place after you click the link in the top and are directed to the paragraph in the document. If i run my mouse over the text it acts as a link but is and as it highlights but i do not want them to. you can view the complete page at the following:

torch.cs.dal.ca/~probinson/job1.html

this is a school assignment i have been working on.

thanks for all the help and sorry for any misunderstandings....
IP logged
soybean
Genius



Thanked: 324
Posts: 12,316

Computer: Specs
Experience: Experienced
OS: Windows 7
The first soybean ever to learn the computer.

« Reply #18 on: March 03, 2008, 07:34:58 PM »

I think your solution is in some text I extracted from www.sedbtac.org/ed/training/webaccess/SampleContent_CSS.doc :

To apply a specialized style from the CSS to text in the webpage
1.   Provide the desired HTML element and text. For this example, a paragraph of "Be sure to complete the assignment before class!".
2.   Apply the style in one of three ways dependent on what effect is desired:
  • Use "class" within the HTML element to apply the style to the whole element. For example: 
    <p class="notetext">Be sure to complete the assignment before class!</p>.
  • Use the <span> tag and "class" to apply the style to specific text or an instance. For example:   
    <p>Be sure to <span class="notetext">complete the assignment</span> before class!</p>.
  • Use the <div> tag and "class" to apply to multiple text or an area.
    For example:
    <div class="notetext"><p>Homework: Read Chapter 1</p><p>Be sure to complete the assignment before class!<p><div>. 
IP logged


Pages: 1 [2]  All - (Top) Print 
Home / Internet & Networking / Web design / HTML links « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.112 seconds with 19 queries.