This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Page Layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Page Layout" Watch "Page Layout" New topic

Page Layout

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1542
I am having such a hard time getting my page to look right and to remain intact when the page is being scaled.

I have a main div container, float left, width 100%, height auto.

I then place a navigation container in the main, float left, width 225px, height 100%.

Then I place a content body within the main container, float left, width (MY QUESTION)?, height 100%.

How do I get this body container to take the rest of the page width automatically.

This body content will hold various other container layouts during the application and needs to be dynamic in its width and height.

Is it better to have a right fixed container to go along with the left fixed container to make the container in between more dynamic?

I really need some help here.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63202


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Page Layout
It's not a secret anymore!