This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Div not expanding

 
salvin francis
Bartender
Posts: 1268
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what i wanted:

Container
- header
- content

header should auto expand horizontally and is 20px exact in height
content should have scrollbars for anything overflowing it and should take up the remainder of the container.

This is what i attempted so far....



its not up to the mark in IE7 and fails in IE6, what should i do ?

works well in firefox and chrome though...
 
salvin francis
Bartender
Posts: 1268
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Here is a simple example of what i need:
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting heights to percentages normally only works if the parent has a fixed height.

 
salvin francis
Bartender
Posts: 1268
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so, is there any resolution to my issue ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic