SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to set multiple td fixed width

    Hi,

    I want my #tdpicture to remain the same width when user widen the browser window.
    I also want #tdcurrentprice and #tdtitle have a fixed width

    Appreciate any discussion.

    Code:
     <table width="100%" height="110" cellspacing="0" id="listing">
          <tr>
            <td height="16" colspan="3">&nbsp;</td>
            <td class="center" id="tdPicture">Gi</td>
            <td class="center"><span class="tenPx">Ra gi</span></td>
            <td class="center">Cn</td>
          </tr>
          <tr>
            <td width="96" height="92" class="bordertopandbottom" id="tdpicture"><img src="image/MacBookBlack256.png" width="99" height="88" /></td>
            <td width="381" valign="middle" class="bordertopandbottom"><div class="title" id="title"> <a href="#">Macbook brand new condition 7 months warranty left</a></div>
                <div id="location"><span class="style24">Hồ Ch Minh</span></div>
              <div id="closingDate">Kết thc 7:00pm Thứ bảy 23-8</div></td>
            <td width="76" align="center" class="bordertopandbottom" id="tdbuynow2"><a href="#">18,000,000 Buynow</a></td>
            <td width="92" align="center" valign="middle" class="bordertopandbottom" id="currentprice">15,000,000</td>
            <td width="53" align="center" valign="middle" class="bordertopandbottom">6 lần</td>
            <td width="78" align="center" valign="middle" class="bordertopandbottom" id="tdtimeleft">4 ngy 5 giờ 30 pht</td>
          </tr>
        </table>

  2. #2
    SitePoint Guru
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this impossible ?


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
  •