Jump to content

Recommended Posts

Hello everyone.

 

I am trying to make a table where the row heights are a snug as possible.. unfortunately, I can't seem to get anything to work..

Aside from using CSS.. is there any way to force a row height to snug up to text in the td cell?

 

I even tried putting a line in the style in the header section but still no go.. It's frustrating to have a list in a table with such space between each row..

 

Ex.

 

Edmonton

Calgary

Vancouver

 

in my table viewed in IE, using font 12, there is so much unecessary space between each row..

 

Some html:

<tr>

 

 

<td width="3" height="0" valign="middle"><img src="/images/arr1.jpg" height="5" /> </td>

<td height="0">

   </td>

<td width="190" height="0" valign="bottom"><div align="left"><span class="style13">CGI Bin </span></div></td>

 

<td width="80" height="0" valign="bottom"><div align="left"><span class="style13">YES</span></div></td>

<td width="80" height="0" valign="bottom"><div align="left"><span class="style13">YES</span></div></td>

<td width="80" height="0" valign="bottom"><div align="left"><span class="style13">YES</span></div></td>

<td width="150" height="0">  </td>

</tr>

 

Any ideas?

 

Thanks.T

Link to comment
https://forums.phpfreaks.com/topic/79576-table-row-height/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.