SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist
    Join Date
    Mar 2011
    Posts
    423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Capital letters in code not displaying on web site

    Hi,

    When I use this code:

    PHP Code:
    echo "<a href=\"cart.php?action=remove_item&productid="; echo $row["productid"]; echo "\">";
    echo 
    "Remove</a>"
    the "R" in "Remove" is displayed as "remove". Why does it change it from a capital to a lowercase letter? I need it to be capital.

    Matt.

  2. #2
    SitePoint Guru bronze trophy TomB's Avatar
    Join Date
    Oct 2005
    Location
    Milton Keynes, UK
    Posts
    989
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    My first guess would be to check your css for text-transform: lowercase on links

  3. #3
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    guess #2 - you have this code in two places

  4. #4
    SitePoint Evangelist
    Join Date
    Mar 2011
    Posts
    423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    TomB

    You are right - I was using a CSS code from somewhere else and I overlooked it so forgot to delete it. Now it's been deleted, it is not a problem.

    Thanks,

    Matt.


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
  •