Tee G. Peng wrote:


Seems odd that resizing the font would affect the bottom margins. Do you have a demo or screenshot? I'll have a go at getting it to work myself but I think that the table-layout method would be best for forward compatibility. Keep us posted.


Rob, was experimenting different methods and I must say, using Georg's method for advanced browsers and height with EM [1] for IE works appear to be the best for my situation (still need refinement for the two buggers though!)

I am posting the results for different approaches I have tried.


This page is set the height with EM (no content wrapper) for all browsers that you want to see. The height shrink or expand depending on the font size increases /decreases. I thought this is the normal behavior for EM value, not quite understand why you said it shouldn't.
http://project.lotusseedsdesign.com/SH-new/with_height.html

I meant that I don't know why there would be an undesirable amount of space at the bottom. I've put together a quick example to demonstrate my idea, works in FF, IE6 and Opera. I've placed CSS background-colours on the blocks to avoid that white background showing through and a div at the top with the darker background-colour set in the CSS too.

http://www.sanchothefat.com/dev/list-help/tgp.htm

That's the kind of thing I was getting at, I'm afraid I don't have time to play with the display: table stuff right now, good luck with it!


Finally comes the one with Georg' method
http://project.lotusseedsdesign.com/SH-new/georg_method.html

in IE 6, the background images for each block are gone, I think it's caused by (overflow:hidden), whereas in IE 7, the vertical scrolling still exist (with overflow:hidden), and the background images are pushed to the very bottom of the page. Georg, please help!


Are they pushed to the bottom even when the background-position is set to top?

Take it easy,
Rob O



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to