Link Issues

Discussion in 'ASP General' started by Matt, Mar 1, 2006.

  1. Matt

    Matt Guest

    Why would this link not work on "Firefox 7.12 Version 1.07"? It works fine
    in IE?



    <a href='aac_product_home.asp?Category=product&Section='>

    <td width="145" <%if lcase(sCategory) = "product" then Response.Write
    "class='topnavcellactive'" else Response.Write "class='topnavcell'"%>>

    <p align="center">Product Overview

    </td>

    </a>





    Here are the two CSS classes.



    ..topnavcell

    {

    font-size: 9pt;

    color: #000000;

    font-family: Arial;

    text-decoration: none;

    background-color: #CCCCCC;

    cursor: hand;

    }



    ..topnavcellactive

    {

    font-size: 9pt;

    color: #FFFFFF;

    font-family: Arial;

    text-decoration: none;

    background-color: #000000;

    cursor: hand;

    }



    I assume this may be a CSS issue but what is the issue and how can I resolve
    it.



    Thanks in advance.
    Matt, Mar 1, 2006
    #1
    1. Advertising

  2. Matt wrote:
    > Why would this link not work on "Firefox 7.12 Version 1.07"? It works
    > fine in IE?
    >
    >
    > I assume this may be a CSS issue but what is the issue and how can I
    > resolve it.
    >
    >

    You're right: it's got nothing to do with ASP. I'm not sure which
    client-side group to direct you to because i'm not sure what you mean by
    "not work".

    If it is a css issue, then you should be posting to a css group like
    comp.infosystems.www.authoring.stylesheets

    Bob Barrows
    --
    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.
    Bob Barrows [MVP], Mar 1, 2006
    #2
    1. Advertising

  3. Matt

    Mike Brind Guest

    Matt wrote:
    > Why would this link not work on "Firefox 7.12 Version 1.07"? It works fine
    > in IE?
    >
    >
    >
    > <a href='aac_product_home.asp?Category=product&Section='>
    >
    > <td width="145" <%if lcase(sCategory) = "product" then Response.Write
    > "class='topnavcellactive'" else Response.Write "class='topnavcell'"%>>
    >
    > <p align="center">Product Overview
    >
    > </td>
    >
    > </a>
    >
    >
    >
    >
    >
    > Here are the two CSS classes.
    >
    >
    >
    > .topnavcell
    >
    > {
    >
    > font-size: 9pt;
    >
    > color: #000000;
    >
    > font-family: Arial;
    >
    > text-decoration: none;
    >
    > background-color: #CCCCCC;
    >
    > cursor: hand;
    >
    > }
    >
    >
    >
    > .topnavcellactive
    >
    > {
    >
    > font-size: 9pt;
    >
    > color: #FFFFFF;
    >
    > font-family: Arial;
    >
    > text-decoration: none;
    >
    > background-color: #000000;
    >
    > cursor: hand;
    >
    > }
    >
    >
    >
    > I assume this may be a CSS issue but what is the issue and how can I resolve
    > it.
    >
    >
    >
    > Thanks in advance.


    What do you mean by "doesn't work"?

    And If you really think it's a CSS issue, why don't you try a CSS
    group, like comp.infosystems.www.authoring.stylesheets

    --
    Mike Brind
    Mike Brind, Mar 1, 2006
    #3
  4. Matt

    Mike Brind Guest

    Mike Brind wrote:
    > Matt wrote:
    > > Why would this link not work on "Firefox 7.12 Version 1.07"? It works fine
    > > in IE?
    > >
    > >
    > >
    > > <a href='aac_product_home.asp?Category=product&Section='>
    > >
    > > <td width="145" <%if lcase(sCategory) = "product" then Response.Write
    > > "class='topnavcellactive'" else Response.Write "class='topnavcell'"%>>
    > >
    > > <p align="center">Product Overview
    > >
    > > </td>
    > >
    > > </a>
    > >
    > >
    > >
    > >
    > >
    > > Here are the two CSS classes.
    > >
    > >
    > >
    > > .topnavcell
    > >
    > > {
    > >
    > > font-size: 9pt;
    > >
    > > color: #000000;
    > >
    > > font-family: Arial;
    > >
    > > text-decoration: none;
    > >
    > > background-color: #CCCCCC;
    > >
    > > cursor: hand;
    > >
    > > }
    > >
    > >
    > >
    > > .topnavcellactive
    > >
    > > {
    > >
    > > font-size: 9pt;
    > >
    > > color: #FFFFFF;
    > >
    > > font-family: Arial;
    > >
    > > text-decoration: none;
    > >
    > > background-color: #000000;
    > >
    > > cursor: hand;
    > >
    > > }
    > >
    > >
    > >
    > > I assume this may be a CSS issue but what is the issue and how can I resolve
    > > it.
    > >
    > >
    > >
    > > Thanks in advance.

    >
    > What do you mean by "doesn't work"?
    >
    > And If you really think it's a CSS issue, why don't you try a CSS
    > group, like comp.infosystems.www.authoring.stylesheets
    >
    > --
    > Mike Brind


    Just guessing, but if you mean that you can't get cursor: hand; to work
    in Firefox, you are right - it IS a CSS issue. And the reason is
    because 'hand' is not a valid value for the cursor property in CSS2.
    In fact, IE is the only browser to support it. You should use
    'pointer' as the value instead.

    --
    Mike Brind
    Mike Brind, Mar 1, 2006
    #4
  5. Matt

    Matt Guest

    Thanks Mike. The user stated that the link in general did not work and the
    hand did not appear. I will change hand to "pointer" but any idea as to why
    the actual hyperlink does not work when the user clicks on it? Does it have
    to do with the <a> tag being around a table cell?

    Forgive me for posting to this group. I assumed other ASP programmers may
    have experienced this issue and I would be able to relate to their solution
    better. I was not sure if it was CSS related and did not want to limit
    myself to CSS.


    "Mike Brind" <> wrote in message
    news:...
    >
    > Mike Brind wrote:
    >> Matt wrote:
    >> > Why would this link not work on "Firefox 7.12 Version 1.07"? It works
    >> > fine
    >> > in IE?
    >> >
    >> >
    >> >
    >> > <a href='aac_product_home.asp?Category=product&Section='>
    >> >
    >> > <td width="145" <%if lcase(sCategory) = "product" then Response.Write
    >> > "class='topnavcellactive'" else Response.Write "class='topnavcell'"%>>
    >> >
    >> > <p align="center">Product Overview
    >> >
    >> > </td>
    >> >
    >> > </a>
    >> >
    >> >
    >> >
    >> >
    >> >
    >> > Here are the two CSS classes.
    >> >
    >> >
    >> >
    >> > .topnavcell
    >> >
    >> > {
    >> >
    >> > font-size: 9pt;
    >> >
    >> > color: #000000;
    >> >
    >> > font-family: Arial;
    >> >
    >> > text-decoration: none;
    >> >
    >> > background-color: #CCCCCC;
    >> >
    >> > cursor: hand;
    >> >
    >> > }
    >> >
    >> >
    >> >
    >> > .topnavcellactive
    >> >
    >> > {
    >> >
    >> > font-size: 9pt;
    >> >
    >> > color: #FFFFFF;
    >> >
    >> > font-family: Arial;
    >> >
    >> > text-decoration: none;
    >> >
    >> > background-color: #000000;
    >> >
    >> > cursor: hand;
    >> >
    >> > }
    >> >
    >> >
    >> >
    >> > I assume this may be a CSS issue but what is the issue and how can I
    >> > resolve
    >> > it.
    >> >
    >> >
    >> >
    >> > Thanks in advance.

    >>
    >> What do you mean by "doesn't work"?
    >>
    >> And If you really think it's a CSS issue, why don't you try a CSS
    >> group, like comp.infosystems.www.authoring.stylesheets
    >>
    >> --
    >> Mike Brind

    >
    > Just guessing, but if you mean that you can't get cursor: hand; to work
    > in Firefox, you are right - it IS a CSS issue. And the reason is
    > because 'hand' is not a valid value for the cursor property in CSS2.
    > In fact, IE is the only browser to support it. You should use
    > 'pointer' as the value instead.
    >
    > --
    > Mike Brind
    >
    Matt, Mar 2, 2006
    #5
  6. Matt

    Mike Brind Guest

    Matt wrote:
    > Thanks Mike. The user stated that the link in general did not work and the
    > hand did not appear. I will change hand to "pointer" but any idea as to why
    > the actual hyperlink does not work when the user clicks on it? Does it have
    > to do with the <a> tag being around a table cell?
    >
    > Forgive me for posting to this group. I assumed other ASP programmers may
    > have experienced this issue and I would be able to relate to their solution
    > better. I was not sure if it was CSS related and did not want to limit
    > myself to CSS.
    >
    >


    Yes it does - I didn't spot that before :)

    It should be <td><a href="somelink">Some link text</a></td>

    That's an html question now, so here's another group for that:
    comp.infosystems.www.authoring.html

    ;-)

    --
    Mike Brind
    Mike Brind, Mar 2, 2006
    #6
  7. Matt

    Matt Guest

    With the example you had given to me, the entire cell itself would not be a
    hyperlink. Only the "Some Link Text" would be a hyperlink. Is creating an
    entire cell as a hyperlink not valid HTML?

    Should I use this instead or would I still experience the issue in a non-IE
    browser?

    <td onClick="location.href='msn.com'">Some Link Text</td>

    I am trying not to cross post because every time I do that people yell at
    me. What is the best method of posting when it pertains to multiple groups?


    "Mike Brind" <> wrote in message
    news:...
    >
    > Matt wrote:
    >> Thanks Mike. The user stated that the link in general did not work and
    >> the
    >> hand did not appear. I will change hand to "pointer" but any idea as to
    >> why
    >> the actual hyperlink does not work when the user clicks on it? Does it
    >> have
    >> to do with the <a> tag being around a table cell?
    >>
    >> Forgive me for posting to this group. I assumed other ASP programmers may
    >> have experienced this issue and I would be able to relate to their
    >> solution
    >> better. I was not sure if it was CSS related and did not want to limit
    >> myself to CSS.
    >>
    >>

    >
    > Yes it does - I didn't spot that before :)
    >
    > It should be <td><a href="somelink">Some link text</a></td>
    >
    > That's an html question now, so here's another group for that:
    > comp.infosystems.www.authoring.html
    >
    > ;-)
    >
    > --
    > Mike Brind
    >
    Matt, Mar 2, 2006
    #7
  8. Matt

    Mike Brind Guest

    Matt wrote:
    > With the example you had given to me, the entire cell itself would not be a
    > hyperlink. Only the "Some Link Text" would be a hyperlink. Is creating an
    > entire cell as a hyperlink not valid HTML?


    Not as far as I know.

    >
    > Should I use this instead or would I still experience the issue in a non-IE
    > browser?
    >
    > <td onClick="location.href='msn.com'">Some Link Text</td>


    Best try it out. I've never used it. This has definitely become an
    html issue.

    >
    > I am trying not to cross post because every time I do that people yell at
    > me. What is the best method of posting when it pertains to multiple groups?
    >


    http://www.aspfaq.com/show.asp?id=2081 :)

    --
    Mike Brind
    Mike Brind, Mar 2, 2006
    #8
  9. Matt

    Matt Guest

    So Mike,

    Just trying to get this newsgroup netiquette thing down. Now that you have
    stated this is an HTML issue, should I submit a post to an HTML group or is
    that still considered cross-posting?

    Thanks.


    "Mike Brind" <> wrote in message
    news:...
    >
    > Matt wrote:
    >> With the example you had given to me, the entire cell itself would not be
    >> a
    >> hyperlink. Only the "Some Link Text" would be a hyperlink. Is creating an
    >> entire cell as a hyperlink not valid HTML?

    >
    > Not as far as I know.
    >
    >>
    >> Should I use this instead or would I still experience the issue in a
    >> non-IE
    >> browser?
    >>
    >> <td onClick="location.href='msn.com'">Some Link Text</td>

    >
    > Best try it out. I've never used it. This has definitely become an
    > html issue.
    >
    >>
    >> I am trying not to cross post because every time I do that people yell at
    >> me. What is the best method of posting when it pertains to multiple
    >> groups?
    >>

    >
    > http://www.aspfaq.com/show.asp?id=2081 :)
    >
    > --
    > Mike Brind
    >
    Matt, Mar 2, 2006
    #9
  10. Multipost: posting individual messages to multiple newsgroups one-at-a-time
    (i.e., send a message to group1, then compose the same message and send it
    to group2
    Crosspost: posting a single message simultaneously to several newsgroups by
    putting a list of the newsgroups in the message's To field. When a message
    is crossposted, replies to the post are automatically sent to all the
    crossposted groups

    crossposting good - multiposting bad

    We usually frown upon multiposting because it is hard to carry on a
    conversation in multiple places. it's like you go into a room shout out "how
    do I do this?", run to another room without waiting for a reply, shout the
    message into that room , etc. People in the third room will probably not
    appreciate wasting their time trying to help with a problem that was already
    resolved in the first room.

    In this case, you have done well by posting to a single group. Oops, it was
    the wrong group. There should be no one who criticizes you for posting to
    the correct group, especially if you preface that with post with an
    explanation that you found out you had initially posted to the wrong group.

    Matt wrote:
    > So Mike,
    >
    > Just trying to get this newsgroup netiquette thing down. Now that you
    > have stated this is an HTML issue, should I submit a post to an HTML
    > group or is that still considered cross-posting?
    >
    > Thanks.
    >
    >
    > "Mike Brind" <> wrote in message
    > news:...
    >>
    >> Matt wrote:
    >>> With the example you had given to me, the entire cell itself would
    >>> not be a
    >>> hyperlink. Only the "Some Link Text" would be a hyperlink. Is
    >>> creating an entire cell as a hyperlink not valid HTML?

    >>
    >> Not as far as I know.
    >>
    >>>
    >>> Should I use this instead or would I still experience the issue in a
    >>> non-IE
    >>> browser?
    >>>
    >>> <td onClick="location.href='msn.com'">Some Link Text</td>

    >>
    >> Best try it out. I've never used it. This has definitely become an
    >> html issue.
    >>
    >>>
    >>> I am trying not to cross post because every time I do that people
    >>> yell at me. What is the best method of posting when it pertains to
    >>> multiple groups?
    >>>

    >>
    >> http://www.aspfaq.com/show.asp?id=2081 :)
    >>
    >> --
    >> Mike Brind


    --
    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.
    Bob Barrows [MVP], Mar 2, 2006
    #10
  11. Matt

    Mike Brind Guest

    Matt wrote:
    > So Mike,
    >
    > Just trying to get this newsgroup netiquette thing down. Now that you have
    > stated this is an HTML issue, should I submit a post to an HTML group or is
    > that still considered cross-posting?
    >
    > Thanks.


    ASP people invariably use html, but from a lot of the examples I've
    seen posted here, valid html is not a priority in most people's
    learning curve here. I, for one, have only just recently started to
    concentrate on validating the html and css that I produce, despite
    having been "doing web stuff" for 7 years or so. So I'm no expert.

    I guess what I'm saying is that you'll get better informed advice from
    the place where the experts do hang out. The same goes for any topic
    you fancy posting on :)

    --
    Mike Brind
    Mike Brind, Mar 2, 2006
    #11
  12. Matt

    Matt Guest

    Thank you gentlemen. In this case I wasn't sure what the best group to post
    to. I am an ASP programmer and figured if I am experiencing this issue
    another ASP programmer probably is. Now that I know this is an HTML issue I
    will generate a new post pertaining to valid HTML and post that to an HTML
    group.

    Thanks for your help.


    "Mike Brind" <> wrote in message
    news:...
    >
    > Matt wrote:
    >> So Mike,
    >>
    >> Just trying to get this newsgroup netiquette thing down. Now that you
    >> have
    >> stated this is an HTML issue, should I submit a post to an HTML group or
    >> is
    >> that still considered cross-posting?
    >>
    >> Thanks.

    >
    > ASP people invariably use html, but from a lot of the examples I've
    > seen posted here, valid html is not a priority in most people's
    > learning curve here. I, for one, have only just recently started to
    > concentrate on validating the html and css that I produce, despite
    > having been "doing web stuff" for 7 years or so. So I'm no expert.
    >
    > I guess what I'm saying is that you'll get better informed advice from
    > the place where the experts do hang out. The same goes for any topic
    > you fancy posting on :)
    >
    > --
    > Mike Brind
    >
    Matt, Mar 2, 2006
    #12
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer

    Re: Link Link Link DANGER WILL ROBINSON!!!

    Kevin Spencer, May 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    801
    Kevin Spencer
    May 17, 2005
  2. Graham Thomson
    Replies:
    3
    Views:
    448
    Eki Y. Baskoro
    Dec 18, 2003
  3. Jerick70

    Link issues

    Jerick70, Aug 31, 2006, in forum: HTML
    Replies:
    4
    Views:
    512
    Jerick70
    Sep 1, 2006
  4. krishnakant Mane
    Replies:
    0
    Views:
    245
    krishnakant Mane
    Dec 11, 2006
  5. rpupkin77

    Link Checking Issues - Sub domains

    rpupkin77, Aug 5, 2008, in forum: Python
    Replies:
    1
    Views:
    277
    Terry Reedy
    Aug 5, 2008
Loading...

Share This Page