CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/31/2006 4:07:12 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 24 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
swash5877
Asp.Net User
ContentPlaceHolders and CSS layout settings3/31/2006 4:07:12 PM

0/0

I'm using VS2005 and I'm trying to control the layout and flow of a master page with several sections.  I've tried entering several <div> tags to create regions with a ContentPlaceHolder.  I've tried adding several ContentPlaceHolders, surrounding each one with <div> tags.  I've tried float/clear/margin-left, etc settings in a CSS.  I've even tried setting the absolute positions of the <div> sections, but the ContentPlaceHolders they contain just seem to retain their "normal" size and flow beyond the <div>.

What's the best way to control a form that has a fixed content header, a variable content body with three columns and a fixed content footer?

triadfate
Asp.Net User
Re: ContentPlaceHolders and CSS layout settings3/31/2006 5:23:25 PM

0/0

Here's an example of a Master Page doing something similar:

        

<div id="mainbody"> <div id="localtools"> <asp:contentplaceholder id="localtool" runat="server"></asp:contentplaceholder> </div> <div id="extras"> <asp:contentplaceholder id="extra" runat="server"></asp:contentplaceholder> </div> <div id="content"> <asp:contentplaceholder id="contents" runat="server"></asp:contentplaceholder> </div> <div id="foot"> <p>? 2005-2006 Kroll Factual Data. All rights reserved. </p> </div> </div>
 Then I use a float left on the first column, a float right on the thrid column and set a margin left on the center column to clear the first. It's smart to add a clear:both on the footer.
swash5877
Asp.Net User
Re: ContentPlaceHolders and CSS layout settings3/31/2006 6:54:49 PM

0/0

Thanks.  Guess I was thrown because it still looks wrong at design but renders OK.  I'm not used to that.  I'm spoiled by good tools, and that's the first thing in VS 2005 I see that's not very impressive.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Real World SharePoint 2007: Indispensable Experiences from 16 MOSS and WSS MVPs Authors: Robert Bogue, Adam Buenz, Scot Hillier, Andrew Connell, Stacy Draper, Luis Du Solier Grinda, Todd Klindt, Jason Medero, Dustin Miller, Shane Perran, Joris Poelmans, Heather Solomon, Nick Swan, Jan Tielens, Mike Walsh, Shane Young, Pages: 504, Published: 2007
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
ASP.NET 2.0 Black Book: black book Authors: Dreamtech Software, Dreamtech Software, Charul Shukla, Anil Kumar Barnwal, Dreamtech Software India, Pages: 1167, Published: 2006
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006
Learning ASP.NET 3.5 Authors: Jesse Liberty, Dan Hurwitz, Brian MacDonald, Pages: 576, Published: 2008
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006

Web:
ContentPlaceHolder under a DIV tag - Visual Studio Design view ... Jul 17, 2007 ... ContentPlaceHolder does not appear to all for a style setting. .... FWIW, I always design, test and debug (X)HTML and CSS in plain text ...
Why does the asp.net contentplaceholder control not follow the css ... I have the following html and css defined for a master page and if I add text that is greater then the width the contentplaceholder control ...
mojoPortal - Understanding the Layout.master File Jan 22, 2007 ... See the css documentation for more info on these css classes. Recommended Elements of a mojoPortal layout.Master file ...
ContentPlaceHOlder Location : ASP.net On my master page, I have a treeview control and a contentplaceholder. ... would use layout div or other elements of that nature or you can use the same CSS ...
Untitled maintaining the page layout. Optionally install on Web server, making the. theme available to all sites in the farm. Apply in Site Settings. CSS: Add and ...
Master Pages :: Creating a Site-Wide Layout Using Master Pages ... settings in Styles.css to see the effects of different formatting rules. .... Add Content controls for each of the ContentPlaceHolders in the master page. ...
Creating a Site-Wide Layout Using Master Pages : The Official ... The ContentPlaceHolder control simply denotes a position in the master .... and play with the CSS settings in Styles.css to see the effects of different ...
Microsoft PowerPoint - MOSS_UI_Training_10.ppt [Compatibility Mode] based on this layout, no matter where it resides in the website. y. • Subsite Method: An additional CSS file is assigned via the. Subsite settings. ...
Customizing WSS 3.0 with Master Pages: ASP Alliance Master. You can change this setting to some other Master Page file you have created. In Short, Master Pages contain the layout and Content Place holders and ...
MOSS 2007 Design Component Relationships and Diagrams The content is stored in the page layouts. The content placeholders designate where the .... and applied it as an alternate CSS on the portal site settings. ...




Search This Site:










is nothing

retrieving datetime values and inserting them into sql

object reference error

testing if a cast is possible

calendar control custom validation

request pages on server

i deleted the asp.net user account...computer won't start

bookmarking with hyperlinks

regarding css

.net environmental mess

passing querystring variable to openread method

how to implement windows services like thread in asp.net?

regex question

how do i access the server controls in a usercontrol??

load and stress testing - sockets and threads

sorting active directory search

application variables

narrowing conversion.. please help.

getting the username on a webform

"object reference not set to an instance of an object."

button control with curve border

control id: ctl00_ctl00

get file_structure of the file_server for asp.net client

call function from an .aspx page

msgbox vs javascript alert

what does args.isvalid = true/false really mean?

hooking it together

tracing the referring site.

app settings ie macintosh

system.net.mail question

  Privacy | Contact Us
All Times Are GMT