Solved

Master Page contentplaceholder height

Posted on 2006-06-16
2
2,186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

615 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