473,239 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,239 software developers and data experts.

How to make the flexible page size

1
I am designing the master page and now I have run into the problem with the page size. I want the flexible size-width and height of the page fit with any resolution of the screen when I maximize it and when I resize the browser it can resize its size.

Here is my code:
[html]
<table border="0" cellpadding="0" cellspacing="0" style="height:100%;width:100%;border-top:2px solid #5D646D;" runat="server" id="myTable">
<tr valign="top" align="center" style="background-color:#5d646d;" id="TopContentRow">

<td style="border-top:1px solid #5D646D; width:154px; text-align:left; padding-top:0px;">
<div style="width:154px;z-index:1; ">
<asp:Image ID="uxNavigationLeftImage" runat="server" ImageUrl="../styles/skins/<%skinPath%>/navshape_<%skinPath%>.jpg" Width="154px" />
</div>
<div style="position:absolute;top:110px;left:4px;width: 140px;z-index:2; border-bottom:solid 2px #5d646d;">
<a class="sci-addMenuTop" href="">View All Site Content </a>
<asp:Xml ID="uxSubMenu" runat="server"></asp:Xml>
</div>
</td>

<td style="border-top:1px solid #5D646D;background-color:#B6BCC4;padding-top:0px;" id="TopContentColumn" runat="server">
<table border="0" cellpadding="0" cellspacing="0" style="height:100%;width:100%;">
<tr>
<td align="center" style="height:10px;background-color:#B6BCC4;" id="uxTopContentSubColumn" runat="server">
</td>
</tr>

<tr style="height:100%;" >
<td style="border:solid 1px #5d646d; border-right-width:2px; height:100%; background-color:White;">
<asp:ContentPlaceHolder ID="uxContentPlaceHolder1" runat="server" >
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</td>

<td style="border-top:1px solid #5D646D;width:10px;background-color:#5D646D;" id="NavigationRigthColumn" runat="server">
<div style="width:10px;z-index:1; ">
<asp:Image ID="uxNavigationRightImage" ImageUrl="../styles/skins/<%skinPath%>/navshape_<%skinPath%>.jpg" runat="server" Width="10px" Height="359px" />
</div>
</td>
</tr>
<tr><td colspan="3" valign="bottom" style="border-top:1px solid #5D646D;height:10px;background-color:#5D646D;" id="BottomContentColumn"><img alt="" src="" height="10px" /></td></tr>
</table>
[/html]
I think the problem is in the ContentPlaceHolder. If you have any experiences with this please give me some suggestion.

Thank you in advance!!
Aug 30 '07 #1
1 3915
drhowarddrfine
7,435 Expert 4TB
It's difficult to help because you have asp code mixed in and few of us use asp. Also, you should never use tables for layout. If you use <div> and CSS, it would be easy.
Aug 30 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: | last post by:
Hey guys, Is there some code to check the page size of some webpages i am opening using asp or javascript? I want to check that they are all over a certain amount (ie: they display something, and...
1
by: Praveen Nagaraj | last post by:
Hi, Can someone tell me if there is a way to specify the page size for a asp.net web page. I don't want to use javascript way to resize the page but would like to control the page on design...
1
by: Richard | last post by:
Hi, I am trying to tuning up the performance of PSQL. I have tried changing the cache size. I found that the default page size if 8k, I am just wondering has any one know, if page size if biger...
3
by: Joe Weinstein | last post by:
Hi all. I am debugging a JDBC application. I find that a certain query that has an order-by clause fails with a SQL1585N A system temporary table space with sufficient page size does not exist....
1
by: MacDermott | last post by:
I created a report to print labels, and it created a custom page size for the report. When I opened the properties of the printer driver I could see it listed - as Custom. Then I had to change...
1
by: Raja Shekar | last post by:
HI Every body , I would like to know whether is it mandatory to give Tablespace page size and Bufferpool page size equal..? i also heard like while creating tablespace if pages size of tablespace...
1
by: Wayne | last post by:
Is there a way to make the page size of a report stick to A3 regardless of if the target PC has an A3 printer attached? The page size seems to stick sometimes and reverts back to A4 when it feels...
3
by: lazy | last post by:
wat will happen to a std string function like strcmp etc when the size of the string is greater than page size of the OS? A bigger question is how will they be even stored? (if at all they can be...
7
by: =?Utf-8?B?Um9iIFRob21zb24=?= | last post by:
Hi is there a way in asp.net 1.1 to in code behind query the page size that is generated, I realise IIS does it as it has that data in the logs, I would like to capture this data so that I can...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.