Jump to content

Ermu

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Ermu

  1. Hey!

     

    So my problem is that my site looks perfect when it's on fullscreen, but when you resize the browser window, it will go out of the screen from the right side.

    I'd like it to be like normal sites that, when you resize the window and it's about to go out of the screen, it will ignore the "margin" and glide to left corner and "attach/stick" to it.

     

    Everything in HTML is inside <div id="contain"> tag.

     

    I hope you understood, if you didn't ask for a better explanation.

     

    Thanks, Ermu.

     

    ----------CSS-----------

    @charset "utf-8";
    /* CSS Document */
    * {
     margin:0;
     padding: 0;
    }
    html, body {
     height: 100%;
     width: 100%;
     padding: 0;
     margin: 0;
    }
    #full-screen-background-image {
     z-index: -999;
     min-height: 100%;
     min-width: 100%;
     width: 100%;
     height: 100%;
     position: fixed;
     top: 0;
     left: 0;
    }
    h1 {
    font-family:Arial, Helvetica, sans-serif;
    font-size:42px;
    color:#000000;
    text-align:center;
    text-decoration:underline;
    }
    h2 {
    font-family:Arial, Helvetica, sans-serif;
    font-size:30px;
    color:#000000;
    text-align:left;
    text-decoration:underline;
    }
    h3 {
    font-family:Arial, Helvetica, sans-serif;
    font-size:22px;
    color:#000000;
    text-align:left;
    text-decoration:none;
    }
    #contain {
    margin-left:25%;
    margin-top:4%;
    margin-right:25%;
    margin-bottom:0px;
    }
    #TBFLogo {
    margin-right:0px;
    margin-left:0px;
    margin-bottom:0px;
    margin-top:0px;
    width:900px;
    height:500px;
    border-width:14px;
    border-bottom-width:0px;
    border-color:#000000;
    border-style:solid;
    background:url(Images/planks.png);
    }
    #Mainbox {
    margin-left:164px;
    margin-right:0px;
    margin-bottom:0px;
    margin-top:0px;
    border-bottom-width:14px;
    border-right-width:14px;
    border-left-width:14px;
    border-top-width:14px;
    border-style:solid;
    border-color:#000000;
    position: relative;
    background:url(Images/planks.png);
    width:720px;
    padding-right:8px;
    padding-left:8px;
    padding-top:20px;
    padding-bottom:20px;
    }
    #Mainbox a {
    color:#00FF00;
    }
    
    #Sidebarbg {
    background:url(Images/planks.png);
    }
    #Sidebarlowestpad {
    border-bottom-width:0px;
    border-top-width:0px;
    border-right-width:0px;
    border-left-width:0px;
    border-style:solid;
    border-color:#000000;
    }
    #Sidebarblock {
    border-bottom-width:14px;
    border-top-width:0px;
    border-right-width:0px;
    border-left-width:0px;
    border-style:solid;
    border-color:#000000;
    }
    #Sidebar {
    margin-left:0px;
    margin-right:0px;
    margin-top:0px;
    margin-bottom:0px;
    border-top-width:14px;
    border-bottom-width:14px;
    border-right-width:0px;
    border-left-width:14px;
    border-style:solid;
    border-color:#000000;
    position:absolute;
    background:url(Images/planks.png);
    width:150px;
    }
    #Sidebar ul {
    list-style-type: none;
    padding: 0;
    text-decoration:none;
    color:#000;
    }
    #Sidebar a {
    font-family:Arial, Helvetica, sans-serif;
    color:#000000;
    text-decoration:none;
    font-size: 130%;
    font-weight: bold;
      display: block;
      padding: 4px;
    padding-right:70px;
    }
    #Sidebar a:hover {
    background:url(Images/planksdark.png);
    color: #FFF;
    }
    #copyright {
    border-width:6px;
    border-style:solid;
    border-color:#000000;
    margin-bottom:0px;
    margin-top:8px;
    margin-left:170px;
    margin-right:0px;
    width:724px;
    padding: 6px;
    font-style:oblique;
    font-weight:bold;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    background:url(Images/planks.png);
    }
    

×
×
  • Create New...