Topic: Managing layers with height: auto |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: Mexico |
posted 07-30-2003 19:16
I'm wondering how can I place a layer Exactly below another one which has "height: auto". Or if that's not possible, how can I force to leave a space between the end of the layer and the end of the page. This is the example page. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 07-30-2003 19:54
neopabilus: height:auto is a tricky beast and I'm not sure about the browser support. With that in mind on a simple page a DIV should fit below the one above and you can use margins to create a gap: |
Paranoid (IV) Inmate From: Den Haag, Netherlands |
posted 07-31-2003 19:04
Put the two of them inside a bounding div, set all divs to the same width, and set display: block ... e.g. code: #menu { position: absolute; top: 120px; left: 23px; WIDTH=143px; display: block; }
|