Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - newbie: asp.net 2.0 - position of ContentPlaceHolder

 
Thread Tools Search this Thread
Old 06-27-2006, 02:04 AM   #1
Default newbie: asp.net 2.0 - position of ContentPlaceHolder


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
  Reply With Quote
Old 04-13-2009, 08:02 PM   #2
kvigor
Junior Member
 
Join Date: Apr 2009
Posts: 1
Default
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
kvigor is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46