[css-d] Image height ignored for div height in IE6

2007-01-26 Thread Aleve Sicofante
Hi, I'm experiencing a problem with IE6. I have a div that takes its size from its content, which is both text and one image. In Firefox and IE7 the height of the div is properly calculated, but in IE6 only text is taken into account. You can see the effect here: http://www.vieira.es/test/index.h

[css-d] Using display attribute + javascript moves page to the top

2007-01-23 Thread Aleve Sicofante
Hi, I'm using the trick of using the display attribute + javascript to reveal or hide parts of the page. It works fine except for one thing. If the user has scrolled down the page, clicking on any of the links that invoke the appropriate javascript makes the page suddenly scroll to the top. This i

[css-d] Nested divs height nightmare

2006-11-15 Thread Aleve Sicofante
I'm fairly new to CSS and I'm having a hard time understanding how to set the height of nested divs. I'm using three divs to create decoration. The inner div should set the height of the group. This works fine in IE6 and that's all the customer required at first, but I also want it to work in Fire