css - margin-top not working with :before -


I have inserted the content using a prefix element for a class before. I was trying to transfer this content using margin-top but Firefox is simply ignoring the property. The code is as follows:

  .bef {line-height: 2em; White-space: Abrop; Font-size: 24px; Display area; } .bef: first {display: block; Margin top: 2em; Padding: 0; Color: # 666666; Content: "Hello",}  

Does anyone know if Firefox can ignore the margin-top asset?

Edit: Although the margin-top is being completely ignored, margin-down: - < X em is working and I am able to move it

It seems that Darco Z is right.

Hypothetically, the first two test cases should be presented equally (separated by & lt; hr & gt; ), in Geo (Via FF3.5 / Mac), but webkit (via Safari 4 / Mac) provides the : first and : later sections as inline form The third test case indicates that webkit is currently required to block the triggering element blocking.

It is not clear what to look for right behavior, it may be worth to ask a question on www-style, which randering engine's behavior is right, then a bug is misplaced Together with the future versions to decide for filing. Feel free to use your code as a test case.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -