On my webpage, right now I start everything from the left of screen. Please look at my webpage at robotdukkani.com. And I put a blue background at the right, just to cover the empty area on the right, just wide enough for not to cause left-right scroll bar to appear at the bottom (at least for my wide laptop screen).
I have two independent questions:
1-How can I center the whole page automatically no matter what screen a visitor uses? If I can do it, I will eliminate the blue background at right.
2-If I want to keep layout this way, for my wide laptop screen the blue background is just wide enough (it is a fixed width that I set) to cover the rest of the area on the right and it is fine…However, for a narrower square screen, the blue backgorund (for that same width I had set) on the right is causing a left-right scroll bar at the bottom. How can I automatically set the width of the blue background at the right, so that it will fill the user’s screen just enough but not cause any left-right scroll bar no matter how wide screen he uses?