Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Using :after on an Inline Element: Firefox no-likey Re: Using :after on an Inline Element: Firefox no-likey

#106411
SgtLegend
Member

Using positions for an pseudo element that sits within an inline element is a bad idea as browsers can render inconsistent results, all you need is display: inline-block and it works consistently in all browsers that support the :after pseudo selector.

http://jsfiddle.net/chrisupjohn/AznZs/3/