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!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/25/2007 10:23:36 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 33 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
dilip12
Asp.Net User
Issue on setting up the master page4/25/2007 10:23:36 PM

0/0

Hi,

 

i am new to ASP.NET 2.0. I had created a master page with (Header,menu and Footer) . my question is how to allign exatly heigt and width of the each columns and rows.

 

i have created header and footer width as 100%.heigts as 10%. so the remaining is for the menu and content place holder.

but when i run my project without filling anything in columns it has started on the top right corner only with height of 20%( whole page). remining all the page is empty. so plz can any one help  me in this.

 

Thanks

Dilip 


 

Zhao Ji Ma - MS
Asp.Net User
Re: Issue on setting up the master page4/30/2007 2:14:53 PM

0/0

Hi Dilip,

Have you tried using table for Master Page layout? I would recommend using table for Master Page layout. It would be easier to define a row or a column in a table. And CSS can be able to used to define Master Page layout too.

<table>
  <tr>
    <td colspan="2"><asp:ContentPlaceHolder ID="Header"></asp:ContentPlaceHolder></td>
  </tr>
  <tr>
    <td>asp:ContentPlaceHolder ID="Main"></asp:ContentPlaceHolder></td>
  </tr>
  <tr>
    <td colspan="2"><asp:ContentPlaceHolder ID="Footer"></asp:ContentPlaceHolder></td>
  </tr>
</table>


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
surfer5
Asp.Net User
Re: Issue on setting up the master page4/30/2007 3:21:27 PM

0/0

It sort of depends on what you are talking about, exactly.  Do you mean that the header and footer are 10% of the height of the browser window and the content takes up, at a minimum, the other 80%?  So would you expect the footer to move down off the screen if the content required more than the 80%?  Or would you expect internal scrolling (sort of like frames) in that scenario?

 What I think you are talking about is a footer that sticks to the bottom of the page for content that doesn't require scrolling and, if it does require scrolling, the footer keeps moving down with the content.

 If that is the case, you should read the "footerStickAlt" stuff:

http://www.themaninblue.com/experiment/footerStickAlt/

Pay particular attention to the example for the Long Content:

http://www.themaninblue.com/experiment/footerStickAlt/good_example_long.htm

This will hopefully illustrate what you need to do to accomplish what you are asking.

Just as an FYI, though, this is probably one of the most sought after solutions for web design mostly because of how inconsistent CSS can be when handling this scenario.  I have used the above examples in my projects and they have worked as expected in all of the browsers I use and test against (IE 6 and 7, FireFox, and Netscape).  They say that it works with all major browsers but I can only confirm the ones I test with.

-Jacob






Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages
by Jacob J. Sanford


3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Adobe PageMaker 7.0: Classroom in a Book Authors: Adobe Systems, Adobe Creative Team, Pages: 324, Published: 2001
The Designer's Desktop Manual Authors: Jason Simmons, Pages: 256, Published: 2007
The Graphic Designer's Digital Toolkit Authors: Allan B. Wood, Pages: 624, Published: 2005
Adobe InDesign CS2 One-on-One: One-on-one Authors: Deke McClelland, Pages: 528, Published: 2006
Adobe InDesign CS3 Bible Authors: Galen Gruman, Pages: 988, Published: 2007
PageMaker 5 for Windows for Dummies Authors: Deke McClelland, Galen Gruman, Pages: 378, Published: 1994
Desktop Publishing with Pagemaker for the IBM PC AT, PS/2, and Compatibles: For the IBM PC AT, PS/2 and compatibles Authors: Tony Bove, Cheryl Rhodes, Pages: 222, Published: 1987
Adobe InDesign CS One-on-One Authors: Deke McClelland, Pages: 400, Published: 2004
Desktop Publishing: Stages II and III Authors: Sharon Spencer, Pages: 151, Published: 1998
QuarkXpress 6 for Print and Web Design: For Print and Web Design Authors: Michael Baumgardt, Pages: 360, Published: 2003

Web:
Creative Curio » InDesign Project — Setting Up Master Pages and Styles Setting up Master Pages may seem like busy work now, but you’ll be happy you did it later, especially for multiple-page documents or if you are creating ...
Setting up pages, master pages, and page sets Setting up pages, master pages, and page sets ... up pages, master pages, and page sets. Setting up pages · Setting up master pages · Setting up page sets ...
InDesign CS3 Long Documents: Setting up master pages Setting up master pages. In this chapter, I would like to talk about working with master pages. master pages have been covered in several movies in the ...
Safari Books Online - 0201756250 - Adobe® PageMaker® 7.0 Classroom ... Adventure newsletter > Setting up the master pages ... Setting up columns. When you set columns on a master page, they appear on all publication pages that ...
InDesign Project - Setting Up Master Pages and Styles - Graphic ... Last time I showed you how I set up my files with Grids, Guides and Baselines . Now let's continue down the road of good file prep practices and look at the ...
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps Apr 11, 2006 ... Chances are good the PreInit event handler will need to look up the master page name from a database, or a cookie, or from some user ...
Master Pages in Adobe InDesign CS Using the Pages Palette. Setting Master Pages with Pages Palettes. Setting Master Pages with the ... To set up Master Pages we work with the Pages palette. ...
Mastering Master Pages | CreativePro.com Feb 4, 2008 ... The great thing about setting up a Facing Master Page is this: ... The issue arises when anyone moves any Master Page item in the slightest. ...
ASP.NET Master Pages Tips and Tricks NET nested master page designer issue, as no master page is defined until the ... such as setting up virtual directories in each IIS application that point ...
Master Page - Issue with setting control properties in content ... Master Page - Issue with setting control properties in content page .... Channel 8: Agent 008 for Channel 10: Guitar Hero: World Tour up close and personal- ...

Videos:
Phosphor Tool Assisted Gameplay NOTE: Do NOT ask me about setting up multiplayer. Read Rasterwerk's own page about it. This is the web browser based FPS Phosphor with the built-in...
SWA Complete Tracktion 3 With over 4 hours of instructional material Dan Worrall will take you into the depths of Tracktion 3! From setting up Tracktion 3 for optimal perform...
(Napoleon Hill) - "A Year of Growing Rich" Ch 04 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the Missing P...
247 Page Hill Rd., New Ipswich horse farm/ real estate Karin Cannon at (603) 494-8151 - Nestled between Mount Monadnock, Mount Wachusett & the Wapack Range, lies the historic and quaint town of New Ipswic...
(Napoleon Hill) "A Year of Growing Rich" Chapter 01 http://www.MarketingWith.RonCorbin.net http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above an...
Project 3: Digital Portfolio Pre-Production Everyone can use a digital portfolio. It is a way to portray who you are and what you can do. This video begins the construction of a digital portfol...
(Napoleon Hill) - "A Year of Growing Rich" Ch 07 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the Missing P...
(Napoleon Hill) - "A Year of Growing Rich"- Ch 08 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the Missing P...
(Napoleon Hill ) "A Year of Growing Rich" Ch 05 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the Missing P...
(Napoleon Hill) "A Year of Growing Rich" Ch 03 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the Missing P...




Search This Site:










how retrieve the textbox id in master pages using javascript

how to public a web application like you can a web site

programatically change loginview template

menu+sitemap+menuitem click event event

sitemappath back navigation. preserving state.

need help on the master pages.

url rewrite confusion

bizarre master page table "interference"

master page layout issue

sitemapresolve flaw

can anyone help me with menu control? not fire menuitem click event?

skin inheriting another skin?

menu item formatting

image not displaying correctly with css

treeview control

trying to style a treeview

tab control in web application

master pages across multiple web apps

detecting fragment identifier / anchor in url ?

trying to publish website - getting master page errors

asp.net master.page loading multiple content pages

splitter in masterpage ??

problem with menu control

treeview nodes

need help with code in my content page

urgent! fields in master page not posting!

findcontrol in masterpage problem

populating the whidbey treeview

menu control & flash swf in firefox

menu control: set css class of ancestor menu item of current page

  Privacy | Contact Us
All Times Are GMT