[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Asp.net child pages with different heights

Hi experts

Using Visual Web Developer 2010 how do I go about creating a web-site with a master-page but have all the child-pages at different heights, if I use a div layout in the master-page the height of the page container div defines the height of each of the child-pages, I want to be able to control the height of each child-page, has anybody go any examples?

Regards

dizzycat

0
dizzycat
Asked:
dizzycat
  • 3
1 Solution
 
SSupremeCommented:
It is difficult to image what you want.
But you can apply unique id to each child-page and specify any height you wish.
Can you give an example to understand what you need to do?
0
 
dizzycatAuthor Commented:
If I use a master-page then the height of all of its child pages will be the same, how can I have say three child pages that have the same master-page but each have a different height?
0
 
SSupremeCommented:
If it's fixed height then you could have difficulties, but again you can add style rule with markups.
It depends from situation  how it should be done.
For example: if height based on content, you can specify min-height so it doesn't go smaller if there is a little content, and if content is to large height will expand to fit all content.

Why all pages need different height? To make it box-content?
0
 
SSupremeCommented:
Use overflow:hidden on divs to make them box-content.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now