473,395 Members | 1,568 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,395 software developers and data experts.

resizing contentplaceholder

9
Hi,

Can anybody help me? I created master page (in table) with header, footer, left column and in the right column is contentPlaceHolder. Content on contentPlaceHolder is longer than the left column is. If I run the page left column resizes according to content in contentPlaceHolder, and I don't want that. How I can set left column on fixed size so that only contentPlaceHolder resizes. I tried with <div> and <asp:panel> but it doesn't seems to work or I did something wrong?
Thanks!
Apr 1 '08 #1
1 1485
int08h
28
ContentPlacerHolder itself does not render any html, so it may be sth wrong with your layout, I think the layout should be sth like this:

<div id="head" class="head"></div>
<div id="footer" class="footer"></div>
<div id="left" class="left"></div>
<div id="main" class="main"><asp:ContentPlaceHolder ID="MyContent" runat="server" /></div>

then you can add css to ensure your left div is fixed size
Apr 2 '08 #2

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

Similar topics

3
by: Billy Cormic | last post by:
Hello, I am using Visual Studio 2005 Beta for the first time and am having trouble using contentplaceholders. Actually, I am having trouble declaring them. Here is a snap shot of my master page:...
0
by: Beatniks | last post by:
Is it possible to define a custom event for a contentplaceholder? I've got a chain of bubbling events: Button>repeater>childPage--- <ContentPlaceHolder> --- MasterPage In the childPage I get a...
0
by: nickster | last post by:
For some reason when I use asp controls for the default content of a ContentPlaceHolder, they do not get rendered. Static content is rendered just fine however! Specifically I'm using multiple...
2
by: Andrew Robinson | last post by:
I would like to use a ContentPlaceHolder within the following. Any ideas on how to best accomplish this? <td rowspan="2" style="width: 600px; background-image: url('<asp:ContentPlaceHolder...
0
by: Vinit | last post by:
Hello All, I am designing the masterpage for my application. The main drawback I observed that it does not resize ifself according to screen size but according to content. I have to write a...
2
by: premchandrasingh | last post by:
Hi I am using a master page in which I have only one contentplaceholder and inside this contentplaceholder I added a label. The problem is when I tried to assign some value to this label from...
3
by: jobs | last post by:
Hello. I have a master page with ContentPlaceHolder under a html Div tag. That DIV tag has CSS that positions it. While in Visual Studio design view, that div tag and contentplace holder does...
1
by: Joseph Gruber | last post by:
Hi all. I've created a master page that has a ContentPlaceHolder (mainContent) on it. On a child page I've put a dynamic treeview control into mainContent. The TreeView builds itself...
1
by: =?Utf-8?B?ampmbGFzaA==?= | last post by:
I have a master page with a contentplaceholder object. When creating content pages, I'm adding controls to the contentplaceholder area. The contentplaceholder is not stretching so that I can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.