What would you do? - need opinions on how to address an HTML layout issue

Posted on 2013-01-12
Last Modified: 2013-01-27!/page_Portfolio

I this page needs to be about 3000px in height. The rest of the pages are around 1000px.

Since I have a fixed footer how can I increase the page height without effecting the height of the other pages?

Question by:CavemanLawyer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 16

Expert Comment

ID: 38770721
What is the exact problem?
Since your footer is nailed to the bottom of the page (position: fixed; bottom: 0px;), it will always stay there regardless of page's height.

Author Comment

ID: 38770734
The portfolio page needs to be heightened to about 3100px to show all of the pics. That breaks the other pages.

I need to be able to resize the portfolio page without effecting the other pages.

Author Comment

ID: 38770735
The #content div
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 16

Expert Comment

ID: 38770772
You don't have a div with the id of 'content' on the page!.
The portfolio is displayed in a li tag that you can toggle its display property from none to block.

<li id="page_Portfolio" style="position: absolute; display: block;">

Open in new window

if you define the required height to this li item, nothing will be broken:

 height: 3100px;

Open in new window


Author Comment

ID: 38771129
That did not work.

I see
<article id="content">

Open in new window

at line 83.
LVL 16

Expert Comment

ID: 38771286
Both elements must get the same height:

<article id="content" style="height: 3100px;">
<li id="page_Portfolio" style="position: absolute; display: block; height: 3100px;">

It should be an inline styling like that to override other css rules.
LVL 53

Accepted Solution

Scott Fell,  EE MVE earned 500 total points
ID: 38773312
Hopefully the updated version works for you. Just take care of all of the js errors.

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question