Highlighted

I do not know how to make a padding and fits the screen whatever the resolution

New Here ,
Aug 07, 2017

Copy link to clipboard

Copied

On the site "Le Monde", there is a white block of 1000 px. You can mark it with the blue outline on the capture screen.

capture-gabarit.png

With a screen resolution of 1920 px, this same block has a padding of 451 px right and left,
With a screen resolution of 1680 px, this white block has a padding of 291 px to the right and left. This is normal.

I wanted to reproduce this template but I can not reproduce the padding 451 px right and left. I left a screenshot with the results right.

I do not know how to make a padding and fits the screen whatever the resolution and why on the example here I have 0 on the left and -100000 on the right

Do you know the solution to have the same padding right and left.
thank you
Ulysse

Views

112

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

I do not know how to make a padding and fits the screen whatever the resolution

New Here ,
Aug 07, 2017

Copy link to clipboard

Copied

On the site "Le Monde", there is a white block of 1000 px. You can mark it with the blue outline on the capture screen.

capture-gabarit.png

With a screen resolution of 1920 px, this same block has a padding of 451 px right and left,
With a screen resolution of 1680 px, this white block has a padding of 291 px to the right and left. This is normal.

I wanted to reproduce this template but I can not reproduce the padding 451 px right and left. I left a screenshot with the results right.

I do not know how to make a padding and fits the screen whatever the resolution and why on the example here I have 0 on the left and -100000 on the right

Do you know the solution to have the same padding right and left.
thank you
Ulysse

Views

113

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 07, 2017 0
Guide ,
Aug 07, 2017

Copy link to clipboard

Copied

je n'arrive pas à mettre les margin sur un éléments

Just create a new site and you will get the same as Le Monde.

95fe8d9641.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2017 1
Guide ,
Aug 07, 2017

Copy link to clipboard

Copied

???

f6b1e34dd6.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2017 0