CSS off center

turtlewolf.info
Can anyone explain why my game is pinching to the left of the page at higher resolutions?

#unity {float: left;
		margin: 1.5%;
		width: 600px;
		border: orange 1px solid;
		background-color: orange;
		color: green;}

This is not really unity-development-related. You'd get better answers asking in a particular forum dealing with css.

1 Answer

1

well “float:left” makes everything aligning left … what you can do is creating a wrapping div around the whole thing and give it the style “margin: 0 auto”

Thank you, unfortunately this pushes the right hand (div) below the game console (div). I am going to try reordering the CSS per cascading style and if that doesn't work I might try reordering the CSS. @SisterKy, I did try asking on stackoverflow, but a rough afternoon with Face-book's evolving documentation killed my rep. They won't take my questions anymore. If anyone wants to give me a bump or two, so I could atleast be functional again I'd appreciate it.

(sorry, I'm not at stack)