Setting width

  • Thread starter Thread starter Jenny
  • Start date Start date
J

Jenny

Hi all,

I have a page with 3 panels. PanelA at the top, PanelB in
the middle and PanelC at the bottom.
Can I size PanelA and PanelC to a width of 10 pixel whereas
the PanelB in the middle takes the rest of the (vertical)
space also if the client browsers window is resized??

Thanks for your help and ideas.

Jenny
 
You can create Panel A and C as user controls that are a maximum of
10px high. Then include them in your aspx page inside a table. Then
give the table detail a height of 100%

<table width="100%" height="100%">
<tr>
<td width="100%" height="100%">
<PanelA:UserControl />
...Put code for Panel B here, or create another
custom control.
<PanelC:UserControl />
</td>
</tr>
</table>



Hope this helps,

Neil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top