Why does the pseudo-element '::first-Letter' not work correctly in this example?

Asked

Viewed 133 times

1

When using it, a space appears at the bottom of the page, causing the footer to go up a bit. This does not happen when using 'first-line', for example. It’s only with 'first-Letter'.

Would someone explain to me why this happens and how to solve the problem?

Edit -- Tested only in Firefox.

http://codepen.io/anon/pen/ByWQaK

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • You tested this in which browser? I looked here in Chrome and it didn’t happen that you described.

  • Is there any way you can take a print of the two situations? I’m not able to reproduce this problem here (or I’m not seeing)

  • I confirm that in Firefox, version 34 running on Linux, with the use of pseudo-selector ::first-letter or :first-letter at the bottom of the page there is a considerable space, space that does not appear when this CSS statement is commented.

  • Worked normally on Google Chrome.

  • Take a look to see if this helps you http://answall.com/questions/43323/include-cria-espa%C3%A7o-no-layout-do-site/43445#43445

  • Thanks, @Zuul . It’s possible to assume, so, this is a Firefox bug? Strange is that, apparently, the same problem did not reproduce with André Ribeiro .

  • @Wallacemaxters, thank you. unfortunately I could not make a comparison between my problem and the question of the link you sent. And apparently, such problem does not occur in Chrome.

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.