Maximising a textbox height

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've got the following simple aspx page. When the page is loaded the
browser isn't set to full size (set in the linking buttons query
string). When I maximise the window the textbox (tbxComment) expands
to 100% of the pages width. However I'm having problems getting it to
expand to 100% of the page height (I still want the buttons to be
displayed below the textbox however). Whats the best way to do this?

<html xmlns=" ">
<head runat="server">
    <form id="form1" runat="server" style="height:100%">

            <asp:TextBox ID="tbxComment" runat="server" Width="100%"
Mode="MultiLine" Height="300px"></asp:TextBox>

            <table style="width: 200px" align="center" >
                        <asp:Button ID="btnDone" runat="server"
Text="Done" OnClick="btnDone_Click" Width="80px" /></td>

                    <td style="width: 60px">
                        <asp:Button ID="btnCancel" runat="server"
Text="Cancel" Width="80px" OnClick="btnCancel_Click" /></td>



Re: Maximising a textbox height

Quoted text here. Click to load it

<snip server side code>

What does the source say (rendered by the browser, no server side)?  Have a

Adrienne Boswell at Home
Arbpen Web Site Design Services
Please respond to the group so others can share

Site Timeline