Skip to content

Replaced elements absolutely positionned  #57

@nico3333fr

Description

@nico3333fr

Hi,

just below "Position and width", it could be good to mention "replaced elements absolutely positionned", which is quite… wtf.

Here is the text you could add:

Don't use width… except if you are in the case of a replaced element that is absolutely positionned. I this case, there are some weird and difficult to understand rules that apply. Specially in this case, the browser will ignore the right value. It is not a bug, it is a feature of the spec.

Here is a pen that explains it : http://codepen.io/nico3333fr/pen/wBQJWe

Do you want a PR for this ?

See you,
Nicolas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions