Results 1 to 2 of 2
  1. #1
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Same code, different results

    I am using this same code on a few pages to create a link that displays with an underline when pointed to. On the checkout success page, the underline does not show up. Here it is on the main page with the underline:

    http://designerperfumesnob.authsafe.com/

    This is the code:

    What would you like to see on sale next week? Send an <a href="index.php?main_page=contact_us"><font size="2"><font color="ED3A84">email</font></font></a> and let us know!

    this is the code from the checkout_success.php

    Please send me an <a href="index.php?main_page=contact_us"><font size="2"><font color="ED3A84">email</font></font></a> if you have any questions about your order, or any questions at all.</p>

    Am I missing something?

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Same code, different results

    Quote Originally Posted by traytray View Post
    Am I missing something?
    Yes. The code you are using has nothing to do with the underlining. The underlining is the result of a .css a:hover attribute. This suggests that the relevant style sheet isn't being loaded on the pages where its not working, OR, perhaps on these pages, another stylesheet is being used that is taking precedence of the default stylesheet.

    Although it is possible to 'hard code' these effects (as you are currently doing) it is *highly recommended* that you don't. You are far better to do all formatting with .css

    http://www.w3schools.com/css/css_howto.asp

    You won't regret spending the time learning .css, it can/will save you hours of work in the longer term.

    Cheers
    Rod

 

 

Similar Threads

  1. Replies: 17
    Last Post: 8 Sep 2015, 04:55 PM
  2. v139h 2 different sites on same server but want to use same product images
    By ultravires in forum General Questions
    Replies: 10
    Last Post: 4 Apr 2013, 08:16 PM
  3. Adwords Tracking Code Different Results Chrome vs. Firefox
    By pinkchalkstudio in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 7 Feb 2012, 07:15 AM
  4. I'm Stumped...same layouts two different results...
    By bigblue in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Apr 2011, 06:10 PM
  5. Replies: 3
    Last Post: 12 Apr 2007, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR