rollandburn wrote: > Hi everyone, thank-you Zoe for the suggestion to use display: table- > cell to sort out my squir......ahem, overflow problems.
:-) Thank you. > Unfortunately > this nullifies the margins I have applied to the div that are > necessary for layout. Applying padding to compensate won't work in > this situation because of background colour issues. > Yes, margin doesn't work very well on table elements -- padding is the way to go. Perhaps you can post the page and we can try to find an alternate solution? You may be able to add another wrapper div that receives the display: table-cell, while the outer one keeps the margins. Can't say more without seeing the page. > I'm not going to revert to using tables and I don't know why. > Good for you. Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/