www.webdeveloper.com
Results 1 to 3 of 3

Thread: Fit all resolutions?

  1. #1
    Join Date
    Aug 2012
    Posts
    4

    Fit all resolutions?

    Alright I'm pretty new to html and need to know how to make it so my page will fit on all resolutions, now it's up on a temp domain, http://jakef.hostoi.com/

    But here is the code
    HTML Code:
    <!doctype html> 
    
    <html> 
    
    <head> 
    
    <link rel="stylesheet" type="text/css" href="main.css"/> 
    
    </head> 
    
    
    <body> 
    
    <div id="menu">  
    </div> 
    
    <div id="header">
    <img src="header.jpg"/>
    </div>
    
    <div id="store">
    <a href="http://www.ganoretail.us/"><img src="store.jpg"/> </a>
    </div>
    
    <div id="join">
    <a href="https://www.myganocafe.com/mywebsite/sites/jakscafe/country.asp"><img src="join.jpg"/> </a>
    </div>
    
    <div id="facts">
    <img src="facts.png"/>
    </div>
    
    <div id="info">
    <img src="info.png"/>
    </div>
    
    <div id="little">
    <img src="little.jpg"/>
    </div>
    
    <div id="video">
    <iframe width="500" height="350" src="http://www.youtube.com/embed/baFU7VrLBes" frameborder="0" allowfullscreen></iframe>
    </div>
    
    
    </body> 
    
    </html>
    Code:
    body {
    background-image:url(wood.jpg);
    overflow: scroll;
    height:1200px;
    width:0;
    }
    
    
    #menu { 
    background: white; 
    height: 1090px;
    width: 1050px; 
    position:absolute;
    top:50px;
    right:200px;
    border:3px black solid
    }
    
    
    #header {
    height: 200px;
    position:absolute;
    top:73px;
    right:225px;
    border:3px black solid
    }
    
    #store {
    position:absolute;
    top:350px;
    left:200px;
    }
    
    #join {
    position:absolute;
    top:350px;
    right:220px;
    }
    #facts {
    position:absolute;
    top:500px;
    right:220px;
    border:3px solid black;
    }
    
    #info {
    position:absolute;
    top:885px;
    left:245px;
    border:3px solid black;
    }
    
    #little {
    position:absolute;
    top:1050px;
    left:425px;
    border:3px solid black;
    }
    
    
    #video {
    position:absolute;
    top:500px;
    left:225px;
    }

  2. #2
    Join Date
    Jun 2006
    Location
    Boston, MA
    Posts
    383
    there are a few different ways. one of them being javascript and the other being more simple, basically just adjusting your website to &#37;. see here for a quick tutorial. http://en.kioskea.net/faq/2171-adjus...-of-resolution

  3. #3
    Join Date
    Aug 2012
    Posts
    4
    Thank you!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles