Previous Message
Next Message

page check please (1)

Sent by Andrew Gregory on 28 November 2004 13:01


I should have mentioned *why* I recommended setting the images to  
display:block.

You were setting negative margins because the images had gaps under them,  
right? That gap was there because images are inline elements and sit on  
the text baseline, which leaves room for text character descenders (tails  
of 'g', 'j', etc). That gap is related to the text size, so pixel  
adjustments were an inappropriate solution anyway. Setting display:block  
causes images to not be inline, so they don't sit up on the baseline  
anymore. No more gaps :)

HTH,
-- 
Andrew Gregory, <URL: [EMAIL-REMOVED] >
<URL: http://www.scss.com.au/family/andrew/ >
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: