CSS scrollbars and a problem

Get help using Construct 2

Post » Sun Feb 24, 2013 9:34 pm

I have a custom browser that I use to display my construct 2 games. Only hassle is that when the game screen is same size as the browser client the browser displays scrollbars - which look horrid.

I have got around it by adding

<style>
body {width:100%; height:100%; overflow:hidden, margin:0}
html {width:100%; height:100%; overflow:hidden}
</style>

to the header of the index.html

But that is a bit of a hassle to do every time.

Is there a way I can add that code to the construct 2 project? I tried adding it in as an import to CSS but it didn't work.

Any ideas?
czar2013-02-24 21:35:00
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Return to How do I....?

Who is online

Users browsing this forum: PixelatedTrip and 0 guests