Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2013-01-12
Medium Priority
Last Modified: 2013-01-27

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
Technology Partners: 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 54

Accepted Solution

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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

604 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