Greetings people. I'm not new to this place. I've been visiting the forums frequently and have learned a lot of things just by observing the solutions of different people's problems. This is such a wonderful place to be. I thank the creators, staff members and the people who have been helping others all this time.
For the last 2-3 months, I've been reading books on C#,ASP.Net, SQL Server. After going through them, I've decided to start a dummy project. I plan to make a random website and see where I stand on the subject.
As the first step, I designed a Master Page for my website. Everything seems to be in order. My master page has a table with 3 rows.
In the first row, I've put up a banner for the website.
The second row has been divided into 5 cells for a navigation Menu.
In the third row, I want to place the ContentPlaceHolder.
The thing is that I cant make the ContentPlaceHolder to occupy the whole cell. I tried finding the solution through search engines and found out that using 'Div' control can solve the problem.
So I put in a 'Div' control from the toolbox into the third row of the table and set its width to 100% and height to 350px. Then, I dragged a ContentPlaceHolder in the 'Div' control. Just like the code below.
<div style="width: 100%; height: 350px;"> <asp:ContentPlaceHolder id=contentplaceholder1></asp:ContentPlaceHolder> </div>
Unfortunately, there is still some gap left at the bottom of the ContentPlaceHolder. I mean, it has taken the entire width of the div control but the height of the ContentPlaceHolder is around 300 px.
Any ideas/solutions on how to make it occupy the entire height of the div control?
Thanks in advance.