Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6341437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:02:06+00:00 2026-05-24T20:02:06+00:00

I have the following html <td valign=top id=oddnumberedcolumns> <div><a><span class=myspan>line 1 without linebreak</span></a></div> <div><a><span

  • 0

I have the following html

<td valign="top" id="oddnumberedcolumns"> 
     <div><a><span class="myspan">line 1 without linebreak</span></a></div> 
     <div><a><span class="myspan">line 2 without linebreak</span></a></div>   
</td> 
<td valign="top" id="oddnumberedcolumns"> 
     <div><a><span class="myspan">A very looooooong line 3&#039;which results in a line break due defined width of table column</span></a></div> 
</td>

CSS:

font-weight: normal;
color: #333 !important;
font-size: 11px;
line-height: 22px;
border-collapse: separate;
border-spacing: 2px;
font-family: Verdana, sans-serif;

My problem is that is distance between line 1 & 2 is the same as line 3 that is “line break” so it looks there is four links where is actually only 3 links. How do I minimize the distance between the letters in line 3 when it “breaks” and leave the distance between line 1 & 2 as is.
I would prefer change it in css and leave the html as is.
Hope you understand what i mean by “line break” – i am perhaps mistreating it a bit…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:02:07+00:00Added an answer on May 24, 2026 at 8:02 pm

    in this case you can set a bottom-margin on the div to give space between the first two links and lower your line-height on the td from 22px to something a little higher than the font-size

    example: http://jsfiddle.net/qwane/

    td {
        font-weight: normal;
        color: #333 !important;
        font-size: 11px;
        line-height:15px;
        padding:10px 0;
        border-collapse: separate;
        border-spacing: 2px;
        font-family: Verdana, sans-serif;
        width:300px;
    }
    div {margin-bottom:11px;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following HTML <tr> <td class=label valign=top> Affiliate Party </td> <td class=field>
i have following html structure. <p class=expandableContent ><span class=label>Computer and Laptop Repairs</span></p> <div style=clear:
I have the following code: <td colspan=5 align=left valign=top> <div style=position:absolute; >@Html.TextBoxFor(a => a.Item1.Username,
I have the following html <div id=menu> <ul class=horizMenu> <li id=active><a href=# id=current>About</a></li> <li><a
I have the following html: <td valign=top align=left> <input style=width:250px; name=men_url type=text /></td> <td
i have following HTML structure: <div class=container> <div class=sidebar></div> <div class=content></div> <div class=subscript></div> </div>
I have following html: <div class=rows> <div class=row><input type=text onchange=javascript:getIndex(this); value= /></div> <div class=row><input
I have following html: <div id=nav> <ul> <li class=keyitem>keyitem 1</li> <li>item</li> <li>item</li> <li>item</li> <li
I have following html snippet: <div class=rsw-pp rsw-pp-widget> <div g:type=AverageStarRating g:secondaryurls=http://maps.google.com/?cid=12948004443906002997 g:decorateusingsecondary=http://maps.google.com/?cid=12948004443906002997 g:groups=maps g:rating_override=2.998000
i have following HTML code:- <table class=results> <tr> <td> <a href=..>link</a><span>2nd Mar 2011</span><br>XYZ Consultancy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.