Link to home
Start Free TrialLog in
Avatar of Peter Chan
Peter ChanFlag for Hong Kong

asked on

Decrease the space between Linkbutton lines

Hi,
Here is the repeater
    <asp:Repeater ID="Repeater" runat="server">
	    <HeaderTemplate>
	    </HeaderTemplate>
        <ItemTemplate>
		    <asp:LinkButton ID="Link1" runat="server" Text='<%# Eval("row1") %>' BackColor="#9986B5" Width="820px" 
                OnClick="bt_Click" />
        </ItemTemplate>
	    <SeparatorTemplate>
		    <hr />
	    </SeparatorTemplate>
	    <FooterTemplate>
		    <div class="headerFooter"></div>
	    </FooterTemplate>
    </asp:Repeater>

Open in new window

how to decrease the space between lines of all the Linkbuttons shown in Fig 1?
t555.png
ASKER CERTIFIED SOLUTION
Avatar of James Williams
James Williams
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

try to make use of the control inside the <table>

<table style="width:960px; margin:100;">
    <tr>
        <td style="width:55%;">
            <asp:repeater...>
            </asp:repeater>
        </td>
        <td style="width:25%;" valign="middle">
            <asp:Linkbutton .../>
        </td>
    </tr>
</table>