Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 4th, 2008, 10:15 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: West Palm Beach, Florida, USA.
Posts: 205
Thanks: 4
Thanked 0 Times in 0 Posts
Default ContentPlaceHolder problem

I have created a master page with a header section, navigation section and a content section. I drop the ContentPlaceHolder into the table in the content section. The ContentPlaceHolder now occupies the full width of the table in the content section. So far good.

Now I add a WebForm and link it to the MasterPage. When I open the web form is design mode I see the ContentPlaceHoldenter only as a fraction of the width from what I see in the MasterPage. I enter data into the ContentPlaceHolder and correctly it expands as I enter data. When I debug my webform it displays the data I entered into the ContentPlaceHolder correctly but the width is a fraction of the size of the original definition of the ContenPlaceHolder. It does not use the full with of the table but folds the data vertically.

I am using relative positioning. Any ideas??? Thank you.


This is the content of the ContentPlaceHolder after I have entered data:


Code:
Since 1962 Bobby Soles Propeller Service, Inc. 
has been serving the boating industry under the same
dependable ownership and management with over 100 years 
of combined expertise and knowledge. With two locations,
This is how I see data in my web form:


Code:
Since 1962 Bobby 
Soles Propeller 
Service, Inc. has 
been serving the 
boating industry
under the same 
dependable 
ownership and 
management with 
over 100 years of 
combined
Reply With Quote
  #2 (permalink)  
Old January 5th, 2008, 01:45 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Can you post some of the actual code you are using to display this? Let's see the HTML tags and maybe the styles that are effecting the layout.

-Peter
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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


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
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
Alignment of ContentPlaceHolder garak0410 ASP.NET 2.0 Basics 2 June 7th, 2006 12:06 PM



All times are GMT -4. The time now is 04:46 AM.


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