Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Maximising a textbox height

Reply
Thread Tools

Maximising a textbox height

 
 
Sems
Guest
Posts: n/a
 
      10-15-2007
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="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<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" >
<tr>
<td>
<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>

</tr>
</table>

</form>
</body>
</html>

 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      10-15-2007
Gazing into my crystal ball I observed Sems <(E-Mail Removed)>
writing in news:(E-Mail Removed) oups.com:

> 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="http://www.w3.org/1999/xhtml">
><head runat="server">


<snip server side code>

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


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
textbox height different than input height tshad ASP .Net 1 03-08-2007 10:04 PM
Maximising windows.. the_niner_nation Computer Support 2 09-24-2005 01:11 PM
textbox height = containing cell height - x JC ASP .Net Web Controls 2 08-02-2004 08:28 PM
further post to maximising windows sunny Computer Support 4 04-24-2004 03:34 AM
new windows need maximising! sunny Computer Support 6 04-23-2004 07:04 PM



Advertisments