• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Page Layout

 
Ranch Hand
Posts: 2211
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SSCCE
 
reply
    Bookmark Topic Watch Topic
  • New Topic