stack-blog icon indicating copy to clipboard operation
stack-blog copied to clipboard

Remove max-widths in layout

Open bjb568 opened this issue 10 years ago • 2 comments

Webpages should always be at 100% width.

It annoys me constantly seeing otherwise responsively-designed websites constrained within a tiny rectangle down the center of the screen, this site being a ridiculous 700px. It's way easier to read at full width.

bjb568 avatar Aug 19 '15 19:08 bjb568

Now for images, I don't know which is better, either float them:

img p {
    float: right;
    clear: right;
    width: 25%; /* or whatever */
}

This would need to be in a media query, obviously it's only for larger viewports. The other option is centering them:

img p {
    display: block;
    margin: 0 auto;
}

Centering is safer, but it creates a large whitespace on both the left and right of the image when the viewport is large enough; this looks strange.

bjb568 avatar Aug 19 '15 19:08 bjb568

@Courtny @hellohynes any thoughts on this?

JonHMChan avatar Aug 26 '15 19:08 JonHMChan