Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: some links underlined; some aren't; why?

Reply
Thread Tools

Re: some links underlined; some aren't; why?

 
 
Steve Pugh
Guest
Posts: n/a
 
      08-15-2003
"_Douglas Bell" <> wrote:

>In the following code 'snippet'
>the first hyperlink is underlined and the second one is not.
>Why??
>
> <a href="<% query_preamble %>ADD_KID_CLICK">
> &nbsp;&nbsp; Add Kid... </a>
> <br>
> <% IF Session( "Editing" ) THEN %>
> <a href="edit_click.asp">No edit</a>
> <% ELSEIF Session("Permissions") = "FULL" _
> AND Session("Mode") = "MAIN" THEN %>
> <a href="edit_click.asp">Edit kid</a>
> <% END IF %>


Impossible to tell from the above. For starters there are three links
in the above though only two of them ever get sent to browser at one
time, so which one is the first and which one is the second?

The ASP is irrelevant as the browser which decides whether to
underline a link or not never sees it. Link underlining is
uncontrollable in HTML so it's probably something in your stylesheet.
The actual HTML and CSS received by the browser is what's needed to
solve this riddle.

Post the URL.

Wild guess -
you have a:link (text-decoration: none} in your CSS but no
corresponding rule for a:visted. So visited links are not underlined
and you have just happened to have visited the first link but not the
second.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <> <http://steve.pugh.net/>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update to FAQ - Relative URLs for In-page Links and Links to Notes Garrett Smith Javascript 14 05-26-2009 04:50 PM
FF Crashes on Links within Links Puma Firefox 10 02-17-2009 07:12 PM
Make A Shorter Link - no new links accepted, old links still work. why? Computer Support 7 01-02-2007 09:45 PM
Site Links and Physical WAN Links =?Utf-8?B?RW5mb1BhdWw=?= MCSE 2 03-22-2005 09:23 AM
Exchange Links < Western Cartoon Cards > Exchange Links www.westerncartooncards.ca HTML 2 07-12-2004 07:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57