Page 1 of 1

Looking for guide to help with CSS for ultrawide display

Posted: 13 September 2023, 12:07
by MATV0
Hi

I have a 3440x1440p ultrawide monitor and a lot of space is wasted on a lot of games. Some adjust and will put, say, player boards alongside the main board, others insist on keeping everything vertical.

I've searched on these forums and elsewhere for a) any tips on adjusting CSS to make things fit in ultrawide, and b) any guides that help with CSS on BGA, and there seems to be little to be found. Is there a straightforward guide to moving things anywhere?

Thanks!

Re: Looking for guide to help with CSS for ultrawide display

Posted: 14 September 2023, 05:09
by Fletcheese
In short, no. Every game is different so what you would have to change to make it display "better" will also be different and often very complex. You can use your browser dev console to examine the CSS for any game, but you really need to understand how CSS works to have a chance at modifying it successfully

Re: Looking for guide to help with CSS for ultrawide display

Posted: 15 September 2023, 11:52
by MATV0
Thanks for the reply. I'm surprised there isn't some standardisation like a class for main board and one for each player board, and then some way of telling the CSS to wrap them in-line rather than stack everything vertically. Azul does this automatically, for example.

Re: Looking for guide to help with CSS for ultrawide display

Posted: 16 September 2023, 13:10
by pjt33
Some games have simple layouts and don't need more than flow. Other games have complicated layouts and use CSS grid layouts. CSS is enough of a straitjacket without forcing developers to use a specific subset of it.