Setting width

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
 
N

nfedin

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top