Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Nov 2005
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile How do I link without a tag?

    Hello Friends,

    How do I create a link with out the ankor tag <a></a>? I don't want to use this feature because of its effects; underline and changes the color! I am using my modificaion of coolbuttons (which I found on DynamicDrive.com) to provide button like affects. I have a graphic in the background and text centered over it in white for readability.

    The following works but only if scripting is enabled:
    <td height="22" background="images/Bar_Green.gif" id="cbBtn0" class="mgButton" onclick="top.location.href='index.html'">Welcome</td>

    As always your help is greatly appreciated so thank you in advance.

    Joseph

    P.S. I am not sure if this belongs here or in another forum, I also posted in 'Html or Css'.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,912
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts

  • #3
    New Coder
    Join Date
    Oct 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Also in your css for your links, change the color to whatever YOU want.... don't want them blue, fine make them black or .....

  • #4
    New Coder
    Join Date
    Oct 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    a {
    	text-decoration:none;
    	color: red;
    }
    text-decoration will get rid of the underline.
    color: will make it whatever color you list....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •