On Oct 1, 2011, at 4:02 AM, Kristaps Ancāns wrote: > Just use CSS standarts http://www.w3.org/Style/CSS/ and you will see that > image <img /> will allways have an empty space after it, because image <img > /> is always displayed as display:inline + if link <a href=#/> doesn't have > property as display:block, it will always display as inline. Applying > display:block (in most of cases you need to apply height value also) will > solve whatever problem you have regarding extra white space after image <img > /> or link <a /> >
Well, you are correct according to the CSS spec and adding "display block" to a element that wrapped the image fixes it . But the issue I had is not because I didn't have display block for img. It's because webkit browsers ignore it when a[href^="http"] attribute selector is used with padding left/right, and occurs in even set of floated blocks only. tee ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************