Re: [css-d] Problem with images and floats with example

2007-01-18 Thread Nick Mavros
~davidLaakso wrote: > _*Set the width rather than the height of the image that you float*_. And > since the images are different widths, create a ruleset for each image. > Something like this: > css > div#container { width: 580px;border: 1px solid #000;float: left;padding: > 10px; } > div.im

Re: [css-d] Problem with images and floats with example

2007-01-18 Thread ~davidLaakso
Nick Mavros wrote: > Take a look at this http://www.zefxis.gr/files/example.html > I want the 3 images to "float: left". In FF they do. > In IE6 & IE7 they don't. > Nick If I understand the problem correctly: Set the width rather than the height of the image that you float. And since the images

Re: [css-d] Problem with images and floats with example

2007-01-18 Thread Nick Mavros
Take a look at this http://www.zefxis.gr/files/example.html I want the 3 images to "float: left". In FF they do. In IE6 & IE7 they don't. See for yourself. It's like the that contains them has a 100% width. The rules that causes the problem are: "margin: 0 auto;" that i have placed for the "mar