By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,689 Members | 1,915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,689 IT Pros & Developers. It's quick & easy.

How to fit web page in diffirent screen sizes

100+
P: 250
I'm developing web site using php and mysql. when i see on my screen it's good. but when i see on flat screen monitors it's not properly fit on to the screen. How could I solve that problem. Please help me...
Nov 18 '08 #1
Share this Question
Share on Google+
2 Replies


100+
P: 190
In stead of specifying with in pixels (like 1024px) use % (like with='90%'), mostly its reduce ur probs.
Nov 18 '08 #2

Expert 100+
P: 397
Assuming the page is narrower than the window it is viewed in the parent container default position is top left. If the parent container is assigned float:left; the position of the page is top left. Assigning float:right; to the parent positions it to top right; Assigning margin: 0 auto; to the parent container positions the page to the top and centers it horizontally between the left and right rails. If the parent container has been assigned position absolute, the page could be positioned anywhere in the universe, if not beyond.

PS Providing a clickable link to the page is best. One picture is worth a thousand words . Otherwise we all get to play a little game of lets guess at a solution to an unknown.
Nov 18 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.