How to fit web page in diffirent screen sizes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ghjk
    Contributor
    • Jan 2008
    • 250

    How to fit web page in diffirent screen sizes

    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...
  • maheswaran
    New Member
    • Mar 2007
    • 190

    #2
    In stead of specifying with in pixels (like 1024px) use % (like with='90%'), mostly its reduce ur probs.

    Comment

    • David Laakso
      Recognized Expert Contributor
      • Aug 2008
      • 397

      #3
      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.

      Comment

      Working...