I'm learning how to make a browser game with Unity. I have set up the screen display dimensions to 960 x 640 (I read that it's a safe resolution to use. Feel free to correct me). I created a Canvas and set it to match with width or height, and I set Reference Resolution to 960 x 640.
The problem is that the canvas doesn't match the screen properly and empty leaves bars at the top and bottom. I get the same result using both Render Modes for Camera and Overlay. I understand that the matching options choose either width or height, depending on the slider setting.
Can I somehow match the canvas to the display properly?