Author Topic: CSS Help Thread?  (Read 1429 times)


Please, use flexboxes.
Tried that, for some reason it doesn't allow linebreaks though.

CS:S (the game) also sucks but it's obviously irrelevant to this conversation.
Mus is going to hunt you down now.

Tried that, for some reason it doesn't allow linebreaks though.

Linebreaks in what exactly? What browser are you using?

Quote
Firefox 27 and earlier do not support multi-line flexboxes. See this bug for more details.

Linebreaks in what exactly? What browser are you using?

Chrome, inside of a flexbox. See this website; the logo and menu bar are supposed to be on separate lines. If the display is not flex, then this doesn't happen but then overflow: hidden stops working.

Chrome, inside of a flexbox. See this website; the logo and menu bar are supposed to be on separate lines. If the display is not flex, then this doesn't happen but then overflow: hidden stops working.
are you using <br>? try using display: block;


are you using <br>? try using display: block;
Yes, I was using <br>. Using display:block; fixes the linebreak issue, but then overflow:hidden; doesn't work correctly.

padding
Already fixed the horizontal issue, now i'm having trouble with vertical alignment.

also, 100% width is actually 100% width of the page, but 100% height is another story, and its really loving annoying.
those percentages aren't about the page, they're about the viewport. 100% height is the height of the viewport. same for width. it just so happens that usually the width of the viewport is what you wanted to begin with