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
Hi Albert,
Thanks for the thought. One thing I am certain though, it's triggered by
a[href^=http] and with the padding element.
I only added a[href^=http] rule at final stage, and before that the image had
no padding top issue. What is so strange is that it only occurs to the even set
of the
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
Hi tee,
I played a bit around with your examples, didn't find a good answer
yet why the browsers are rendering it that way, but I can tell that it
is not a [padding-top|bottom] issue. It is rather like a white space as
the space above is exactly like adding a [nbsp;] and it stays the same
Please go to these pages from Webkit browsers (first) and Firefox.
There shouldn't have padding top for the image for We Recommend, padding top
is caused by the padding-left:13px; – any value will trigger the padding in
the EVEN set of the floated block in Webkit browsers [1].
Display:block for A element should solve your porblem.
*Kristaps Ancāns*
*
*
Senior web developer (coder)
Mob.: +34 644340683
E-pasts: kristaps.anc...@gmail.com
Skype: kristaps.ancans
Web: fyfi.net http://www.fyfi.net,
Was just about to send that! :-)
Mike Flanagan
CCO Telford Computer Doctor
http://www.telfordpc.co.uk
i...@telfordpc.co.uk mailto:i...@telfordpc.co.uk
0800 058 8914
Telford Computer Doctor accepts no liability for the content of this
email, or for the consequences of any actions taken on the
On 29/09/2011 11:26, Kristaps Ancāns wrote:
Display:block for A element should solve your porblem.
Thank you!
Can't believe it! I swear that was the first thing I did when I saw that
padding in Webkit browsers.
Checked my style again and found this: