SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML Button + Link

    Hello,

    im having some trouble setting up an html button that links me to another website for example www.yahoo.com...

    can anyone help out?


    Also, wat is the best way for spacing/indenting your text in html? ( ihaev seen <pre> </pre> so far and and <td> and <tr>....
    thnx

    Sam

  2. #2
    SitePoint Addict
    Join Date
    Apr 2003
    Location
    ct
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For spacing I suggest using <p> and modifying it in css. And what is your difficulty with this button?
    KTM RC8 Forum - Motorcycle message board including KTM RC8 motorcycle for sale secion, RC8 how to's, and technical chat.

  3. #3
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Firstly what are you using to write your html - which app?

    This works for an image:

    <a href="www.yahoo.com"><img src="button.gif" width="41" height="29" border="0"></a>

    You can use css to style your text, though I'm not sure of your understanding of css at this point.

    Nadia


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
  •