Re: [css-d] IE fails to shrink width

2008-03-02 Thread Russell Robinson
Hi, Thanks to all who replied, especially Bruno and Georg. Perfect solution! I've also bookmarked Bruno's page on this for future reference. -- Russell Robinson ([EMAIL PROTECTED]) Author of Tectite FormMail and FormMailEncoder/Decoder Root Software (www.tectite.com)

[css-d] IE fails to shrink width

2008-02-28 Thread Russell Robinson
Hi all, I have a problem that affects IE6 and IE7 (I haven't tested IE5.5). I've created a test case: http://www.tectite.com/tests/iewidthtest.htm Firefox and Konqueror (FWIW) work exactly as intended. The aim is to get an image bounded by a frame (not browser frame) that also

Re: [css-d] IE fails to shrink width

2008-02-28 Thread Jim Davis
Question: Will all of the images always be the same width? Jim On Wed, Feb 27, 2008 at 6:35 PM, Russell Robinson [EMAIL PROTECTED] wrote: Hi all, I have a problem that affects IE6 and IE7 (I haven't tested IE5.5). I've created a test case:

Re: [css-d] IE fails to shrink width

2008-02-28 Thread Bruno Fassino
On Thu, Feb 28, 2008 at 3:35 AM, Russell Robinson wrote: I have a problem that affects IE6 and IE7 (I haven't tested IE5.5). I've created a test case: http://www.tectite.com/tests/iewidthtest.htm Firefox and Konqueror (FWIW) work exactly as intended. The aim is to get an image

Re: [css-d] IE fails to shrink width

2008-02-28 Thread Russell Robinson
Hi Jim, On Fri, 29 Feb 2008 01:37:41 am Jim Davis wrote: Question: Will all of the images always be the same width? Thanks for your reply. No, they will be varying width, so that's why I've got the problem. If they were all the same width, then I could specify the width for the containing

Re: [css-d] IE fails to shrink width

2008-02-28 Thread Gunlaug Sørtun
Russell Robinson wrote: But, I really would like a pure CSS solution. Here is a working variant of Bruno's solution to the problem, ready for copy and paste... div.pic .frame {display: inline-block;} div.pic .frame {display: inline;} div.pic .frame { display: table; margin: 0