Skip to content

Overuse of absolute positioning #10

Description

@zachfedor

position: absolute;

You are making this one harder than it needs to be. It should be your goal to use as little CSS as possible to accomplish your layout. The more CSS you write, the more you have to maintain. And the more you use position: absolute;, the more you have to fiddle with every little element to get it's positioning just right.

Instead, try breaking this down into sections in the HTML and rely on block level elements and static positioning. Then break down those larger blocks into smaller blocks where necessary.

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