[css-d] Weird margin beside images in IE, not in FF

2005-12-25 Thread Jani Timonen
But why it works when I apply that mysterious three pixel margin to images? How can I apply that margin ONLY to IE and not e.g. Firefox? .navi img { float: left; margin: 0 -3px; } Btw. Merry Christmas to all U and greetings from Finland!

Re: [css-d] Block element wrapping tightly around content

2005-12-25 Thread luij
Roger, You are looking for 'shrink-wrap' rendering. You are getting it in ie/win by exploiting a non-standard rendering rule in ie that expands containers to hold their content. The most common way to get this behavior cross-browser is to float the element (works in everything but ie/mac).

Re: [css-d] Block element wrapping tightly around content

2005-12-25 Thread Roger Roelofs
On Dec 25, 2005, at 9:44 PM, [EMAIL PROTECTED] wrote: Roger, You are looking for 'shrink-wrap' rendering. You are getting it in ie/win by exploiting a non-standard rendering rule in ie that expands containers to hold their content. The most common way to get this behavior cross-browser

Re: [css-d] Block element wrapping tightly around content

2005-12-25 Thread Angus at InfoForce Services
I am at a loss at trying to accomplish the following. 1. Make the main css file '/new/ifsmain.css' and the alternate styl sheet '/new/ifsmain-reverse.css' one button. to fit in the space just above the 'Knowledge is power' line and aligned on the left margin of the gif. 2. get the background