This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 1393
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: 60764


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Page Layout
Similar Threads
div element problem
vertical alignment does not work
jQuery drag and drop of divs
Keeping DIV tags Displayed Correctly
CSS & DIV relative alignment