![]() |
|
|
|||||||
![]() |
ASP Net - newbie: asp.net 2.0 - position of ContentPlaceHolder |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hey
Yesterday I downloaded and installed Visual Web Developer Express (VWDE) on my computer. In VWDE I created a simple website and added a masterpage. I'm wondering how to position the ContentPlaceHolder of the master page. I've tryed 2 ways of to solve this problem : 1) add a table to the master page and put the ContentPlaceHolder in one of it's cells. Then instead of position the ContentPlaceHolder, I instead position the table or 2) I added a Panel to the master page and put the ContentPlaceHolder in the Panel I'm wondering are any of these position techniques mentioned above any good? Is there a better way to do it? Any pitfalls that may occur because of these techniques? Jeff Jeff |
|
|
|
|
#2 |
|
Junior Member
Join Date: Apr 2009
Posts: 1
|
blogs.msdn.com/tolong/archive/2008/02/05/resize-the-contentplaceholder-in-the-master-page.aspx
Typically using a div is the common method. The contentplaceholder will cascade to the content you add to it while adhering to the positioning of the containing div. Also note for positioning, if absolute positioning is needed always put an absolute div w/in a relative div, less headaches this way. kvigor |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| viewstate MAC failed in asp.net 2.0 while postback the page | azraffarveen | Software | 0 | 05-12-2009 03:24 PM |
| .NET 2.0 Web Apps / .NET 3.5 ASP.NET Apps - Differences/Similariti | london1919 | MCTS | 1 | 12-08-2008 03:16 PM |
| ASP.NET: Asign Users in Roles(Array.IndexOf(Of String) method) | msandlana | Software | 0 | 04-25-2008 06:37 AM |
| ASP.NET 2.0 application does not run in WIN2k3 | johnfraj | Software | 0 | 04-19-2007 08:27 AM |
| Panasonic S35 memory position | Alan Faux | DVD Video | 3 | 09-14-2004 02:52 PM |