www.webdeveloper.com
Results 1 to 4 of 4

Thread: buttons

  1. #1
    Join Date
    Jan 2003
    Location
    australia
    Posts
    2

    Smile buttons

    I feel silly asking this question - its probably very simple

    I have created a button using psp but how do I go about using it to link to other pages - I ve always used text links but now I want to use my own button I made.

    Could someone help me out with this - much appreicated

  2. #2
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    This should do the trick for you...

    Code:
    <a href="yourpage.htm"><img src="yourimage.gif" height="20" width="50" border="0"></a>

  3. #3
    Join Date
    Jan 2003
    Location
    australia
    Posts
    2

    Smile thanks!

    thanks for your help - worked a treat

  4. #4
    Join Date
    Nov 2002
    Location
    England
    Posts
    275
    Don't forget also you should provide an ALT attribute for when the image can not be loaded, or the use does not have a image capable browser:

    Code:
    <a href="yourpage.htm"><img src="yourimage.gif" height="20" width="50" border="0" alt="LINK TEXT"></a>
    It should be something meaningful.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles