SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Eliminating spacing in caption

    When I use this code the two line caption has a space between them. What do I need to change to eliminate that?


    <table align="center">

    <tr>
    <td><a href="thumbs/Fisherthumb.jpg"><img src="images/Fisher.jpg" width="275" height="185" alt="The Fisher gang, Scott Warner, Me, Jim Lewellen and Fred Brust"></a></td>
    </tr>
    <tr>


    <td>
    <p>The Fisher Labs Crew! Scott Warner,</p>
    <p>yours truly, Jim Lewellen and Fred Brust</p>
    </td>
    </tr>
    </table>

  2. #2
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,408
    Mentioned
    273 Post(s)
    Tagged
    5 Thread(s)
    Try changing this

    Code:
    <p>The Fisher Labs Crew! Scott Warner,</p>
    <p>yours truly, Jim Lewellen and Fred Brust</p>
    to this
    Code:
    <p>The Fisher Labs Crew! Scott Warner,<br/>
    yours truly, Jim Lewellen and Fred Brust</p>
    The gap is because you have it as two paragraphs, when you only need a line break.

  3. #3
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by TechnoBear View Post
    Try changing this

    Code:
    <p>The Fisher Labs Crew! Scott Warner,</p>
    <p>yours truly, Jim Lewellen and Fred Brust</p>
    to this
    Code:
    <p>The Fisher Labs Crew! Scott Warner,<br/>
    yours truly, Jim Lewellen and Fred Brust</p>
    The gap is because you have it as two paragraphs, when you only need a line break.

  4. #4
    SitePoint Evangelist Barnum's Avatar
    Join Date
    Oct 2008
    Posts
    418
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much....I am the first to say I am a real novice, but I have had my website going for two years and never knew this....I use <br> all the time, but never considered your </br> solution and I am most grateful. Sometimes great things come in little packages. Know that is hard for all you to understand, but each time I pick up one little tip, I feel so good. Thanks again. It's one more question I won't have to ask again (I think?)


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
  •