On Thu, 5 Jul 2007, Christopher Blake wrote: > http://www.3pointdesign.com/websites.html > However the problem I encounter is that IE will not align the images > side by side.
I wonder whether it's actually _useful_ to make images appear side by side if they are clearly separate links. > So i simplified it and just added the images next to each other > with a tiny amount of margin: > http://www.3pointdesign.com/websites2.html > No luck either =( As far as I can see, both IE and Firefox put gaps between the images. This is natural since the <img> elements have blanks (whitespace) between them. If you have <img ...> <img ...>, then the space between the tags is treated as character-level content, causing some spacing. It is not possible to predict or override this effect in CSS with accuracy. But if you remove the spaces, <img ...><img ...>, you can then set the spacing, by setting padding and margin properties for the img elements. (They are usually zero by default, but there are exceptions, so to make images sit side by side, set them to zero explicitly.) -- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/
