Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
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 January 24th, 2006, 12:23 PM
Registered User
 
Join Date: Jan 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Alignment of ContentPlaceHolder

Hello...

I am trying to mirror and learn a few things from the Wrox United examples in the Beg. ASP 2.0 book...when trying to make a master page on my own, I have a table as a header, a table as a side bar and I want a content place holder to align under header and to the right of the side bar. No matter what I do, if it is dragging or by CSS, I can't get it to line up where I want.

Suggestions?

 
Old May 30th, 2006, 12:46 PM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Garak:
I had the same problem. I solved it the long hard way.
I purchased the Wrox Book, Beginning CSS Cascading Style Sheets for Web Design, by Richard York and spent 2 months reading and doing examples, from cover to cover.
Now, I have the same problems with layout on master or aspx pages, but can manipulate placement easily by creating controls with no css applied. Later, when I have everything
on a page that I want (controls) I use css style position relative or absolute as needed to place things exactly. Its a long slow process and there oughta be a better way. But until I hear of one, this is what I do.
VictorVictor.

 
Old June 7th, 2006, 12:06 PM
Authorized User
 
Join Date: May 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to notrosh
Default

Hi,

This might not help...
I would suggest using the <div> tag instead of tables
Also if you are having trouble aligning your contentPlaceHolders on the page. You can control this by using a CSS. However I think your problem is you need to place your contentPlaceHolder in a <div> and then align the <div>








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
ContentPlaceHolder problem nuth ASP.NET 2.0 Basics 1 November 22nd, 2007 01:09 AM





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