Okay so basically what I知 trying to figure out is how to change the height of one div to use repeatedly within various pages of a website I知 creating.
I have about 10 different web pages and all of them differ in height. The home page has images and text on and I知 using a div called "content" which is 700px in height and this is fine to show the relative content. But I have another page which needs to be longer as more content and videos are placed on this page. In short, I have 10 different web pages that make up my web site and I would like to use the "content" div for each and every single page within the website instead of creating 10 different 'content' divs.
I've researched into the min-height and max-height properties and was wondering would this be the correct way of altering the height of the "content" div so elements can be placed in the div?
So I was thinking of making the "content" div have properties such as:
Expand|Select|Wrap|Line Numbers
- #content {
- min-height:600px;
- max-height:1000px;
- }
I look forward to any feedback.
Thanks,
James