Solved

Master Page contentplaceholder height

Posted on 2006-06-16
2
2,181 Views
Last Modified: 2008-01-09
Hello,

Is there anyway I can set height of contentplaceholder in my master page.

The reason being, if the content is less the footer is is not uniform across the application.

Pls help
0
Comment
Question by:sureshraina
2 Comments
 
LVL 20

Accepted Solution

by:
REA_ANDREW earned 500 total points
ID: 16920046
What you need to do is enlcose the contentplaceholder in a div and then saet the height of the div

<div id="ContentHolderDiv" style="height:400px;">
Content Place Holder Here
</div>
0
 
LVL 1

Expert Comment

by:jgroetch
ID: 16920277
What I did was add a nested <table> within the ContenHolder as follows (note the "height: 121px" in the first <td> ) :

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="1" cellpadding="0" cellspacing="0" width="100%" >
  <tr align="center">
    <td style="height: 121px; font-family: 'Times New Roman';">
    <table border="0" cellspacing="0" width="100%">

            ... additional <tr> and <td> tags here

    </table>
    </td>
  </tr>
 </table>

Good luck,
Bob
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now