Matthew Stoneback wrote:
> When lining images up horizontally, is there a inherit amount of padding or
> margin on the left and right sides?  Basically, why can I not line two
> images up flush against one another?  If an example is needed, I can post a
> link.
>   

If your images are inline, which they are by default, and you have them 
placed on separate lines in the HTML, all browsers are going to add a 
gap between them. This is exactly the same as if you placed two words on 
separate lines in the HTML -- browsers automatically add spaces between 
inline elements in the same linebox.

If you want to change it, you can switch the images to blocks and float 
them side by side, or you can get rid of the whitespace in the HTML, or 
you can use negative side margins to close the space (which isn't very 
precise).

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
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/

Reply via email to