Why is my banner and navigation bar centred on a 24" Mac but not on a 27"?
I designed my website using HTML/CSS, and I have a top banner right below my fixed header, and below the banner is my menu/navigation. When i view the site on my laptop and 24" mac, both are centred; however, when I view my site on a 27" Mac, the banner is off to the left and the menu/navigation bar is a bit over to the right. Is there any way I can have both stay in the same spot no matter what size monitor I view the site on? I'll post the CSS/HTML for both below ("title" is the banner).
Do you want it to stay in the same spot or do you want it to stay centered?
For centering inline elements like images you need to apply
And by the way:
A good tip when styling your site: Resize your browser window often to see what happens! The effect you are experiencing is caused by the amount of horizontal pixels being increased as the resolution gets better, you can get the same effects by making your browser window narrower. :thumbsup:
|All times are GMT +1. The time now is 10:48 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.