Need help with a piece of code.

Discussion in 'HTML & Website Design' started by Mahumba, Oct 30, 2006.

  1. #1
    I am making a directory that requires a reciprical link. I want text so someone can copy and paste it. I am trying to input this:

    <b>< p align="center"><a href="http://www.thunderbayfishing.com">Thunder Bay Fishing</a>< /p></b>

    without the spaces. I want it to remain text and not a link. Any thoughts?

    Roger
     
    Mahumba, Oct 30, 2006 IP
  2. Mahumba

    Mahumba Peon

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Sorry I should have put this under HTML and Web design. I'll put it there now. So please disregard this post and please delete it

    Thanks,

    Roger
     
    Mahumba, Oct 30, 2006 IP
  3. Revamped Solutions

    Revamped Solutions Active Member

    Messages:
    1,347
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Use this.

    <div align="center"><b><a href="http://www.thunderbayfishing.com">Thunder Bay Fishing</div></a></b>
     
    Revamped Solutions, Oct 30, 2006 IP
  4. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #4
    fordP, Oct 30, 2006 IP
  5. Mahumba

    Mahumba Peon

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hmmmm It still comes out as a clickable link.
     
    Mahumba, Oct 30, 2006 IP
  6. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yea it doesnt work, try what was posted below
     
    fordP, Oct 30, 2006 IP
  7. phree_radical

    phree_radical Peon

    Messages:
    563
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #7
    fordP's didn't work?? Try this p;
    &amp;lt;b&amp;gt;&amp;lt; p align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.thunderbayfishing.com&amp;quot;&amp;gt;Thunder Bay Fishing&amp;lt;/a&amp;gt;&amp;lt; /p&amp;gt;&amp;lt;/b&amp;gt;
    HTML:
    Edit: Nevermind.
     
    phree_radical, Oct 30, 2006 IP
  8. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #8
    
    
    <input name="reciplink" type="text" value="&lt;b&gt;&lt; p align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.thunderbayfishing.com&quot;&gt;Thunder Bay Fishing&lt;/a&gt;&lt; /p&gt;&lt;/b&gt;" size="110" readonly="true" />
    
    
    Code (markup):
    use that
     
    fordP, Oct 30, 2006 IP
  9. Mahumba

    Mahumba Peon

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks fordp that did it! I had to eliminate two spaces in your code but it worked.

    Thank you

    Roger
     
    Mahumba, Oct 30, 2006 IP
  10. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #10
    no problem..
     
    fordP, Oct 30, 2006 IP
  11. Mahumba

    Mahumba Peon

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #11
    It was revamped's code that didn't work for me. Thanks though revamped. Fordp's code worked I jusst had to eliminate two spaces for it to work properly.

    Thanks again.

    Roger
     
    Mahumba, Oct 30, 2006 IP
  12. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #12

    ya my head was spinning trying to figure out how that didnt work. thought I must have mis-understood something over the years lol
     
    fordP, Oct 30, 2006 IP
  13. Mahumba

    Mahumba Peon

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #13
    So you must understand how I felt trying to figure this out on my own..... Ha ha. It was driving me nuts! I was going to text it out in a drop down menu but it looked awful!

    Roger
     
    Mahumba, Oct 30, 2006 IP