Solved

Master Page contentplaceholder height

Posted on 2006-06-16
2
2,184 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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