Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2007, 01:59 AM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ContentPlaceHolder problem

I m a beginner to ASP.net.I need to know how to move or resize the ContentPlaceHolder 4m its default position.I need to add a navigation bar to the left border of the content page,but I cud not move the ContentPlaceHOlder or either resize it.

 
Old November 22nd, 2007, 01:09 AM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

ContentPlaceHolders define what goes into an area of a Master Page template. It's the Master Page where the place holders position in code is defined. If you want control where the content appears using nothing more than the flow of the document, you change it in the Master Page.

Alternatively, and probably more wisely, the code shouldn't be controlling the appearance of the document. Use the CSS stylesheet file (*.css) for that.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fix the contentPlaceHolder size SriRamaKrishna ASP.NET 2.0 Basics 4 March 25th, 2008 12:06 AM
ContentPlaceHolder problem snufse ASP.NET 2.0 Basics 1 January 5th, 2008 01:45 AM
Move or resize the ContentPlaceHolder nuth BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 January 1st, 2008 11:11 AM
FCKEditor not working in contentplaceholder msch-prv BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 December 4th, 2007 08:38 PM
Alignment of ContentPlaceHolder garak0410 ASP.NET 2.0 Basics 2 June 7th, 2006 12:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.