Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Hight on a tablecell with linkbuttons problem

Hight on a tablecell with linkbuttons problem

Scheduled Pinned Locked Moved ASP.NET
sysadminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thomasa
    wrote on last edited by
    #1

    This seems like an easy task but I havn't mangade to figure it out. I have a table like this:

    <table cellpadding="0" cellspacing="0" class="tabAdminUser" width="257px" border="0">
    <tr>
    <td style="width:103px" rowspan="8"></td>
    <td class="lblStyle1"><br />$User_usergroups$</td>
    </tr>
    <tr>
    <td style="height: 9px">
    <asp:LinkButton ID="lbtnUserSearch" runat="server" Height="9px" CommandName="userSearch" CssClass="lbtnStyle8"
    onclick="lbtnGoToPage_Click">$Search_for_user$</asp:LinkButton>
    </td>
    </tr>
    <tr>
    <td><asp:LinkButton ID="lbtnNewUser" runat="server" Height="9px" CommandName="newUser" CssClass="lbtnStyle8"
    onclick="lbtnGoToPage_Click">$New_user$</asp:LinkButton>
    </td>
    </tr>
    <tr>
    </table>

    The problem is that I want the LinkButtons to be closer to each other. I belive I've tryed everything, from setting the hight on the tablecell and linkbutton, but no mather what, the tablecell always is 19px high. :| Thanks Thomas

    T 1 Reply Last reply
    0
    • T thomasa

      This seems like an easy task but I havn't mangade to figure it out. I have a table like this:

      <table cellpadding="0" cellspacing="0" class="tabAdminUser" width="257px" border="0">
      <tr>
      <td style="width:103px" rowspan="8"></td>
      <td class="lblStyle1"><br />$User_usergroups$</td>
      </tr>
      <tr>
      <td style="height: 9px">
      <asp:LinkButton ID="lbtnUserSearch" runat="server" Height="9px" CommandName="userSearch" CssClass="lbtnStyle8"
      onclick="lbtnGoToPage_Click">$Search_for_user$</asp:LinkButton>
      </td>
      </tr>
      <tr>
      <td><asp:LinkButton ID="lbtnNewUser" runat="server" Height="9px" CommandName="newUser" CssClass="lbtnStyle8"
      onclick="lbtnGoToPage_Click">$New_user$</asp:LinkButton>
      </td>
      </tr>
      <tr>
      </table>

      The problem is that I want the LinkButtons to be closer to each other. I belive I've tryed everything, from setting the hight on the tablecell and linkbutton, but no mather what, the tablecell always is 19px high. :| Thanks Thomas

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      try setting margin-top:-2px; on the bottom linkbutton.

      I didn't get any requirements for the signature

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups