We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14424
    • 28 Posts
    Hello all,

    I have two small sites I have been working on since Christmas 2006. I have everything working good but I want to change one thing about the template and I can’t figure out how undecided . My problem is this:

    Problem: The template divides the page into three sections horizontally, avmenu(left), content(middle), and I don’t know what you call the menu on the right. Anyway, all I want is the left menu and content. I would like for the content to span the rest of the page where the third(right) section would normally be. I have tried fiddling with the css best I know how and can’t get it to work right without screwing everything else up.

    The following is my current css file:
    ____________________________________________________________________
    /* andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use for any purpose as long as the proper credits are given to the original author.

    Version: 1.2 (Oct 21, 2005)

    Screen layout: */

    body{
    margin:0 auto;
    padding:0;
    font:76% Verdana,Tahoma,Arial,sans-serif;
    background:#f4f4f4 url(../images/bg.gif) top center repeat-y;
    color:#303030;
    }

    #wrap{
    background:#ffffff;
    color:#303030;
    margin:0 auto;
    width:760px;
    }

    #header{
    clear:both;
    margin:20px 0 0 0;
    padding:0;
    height:45px;
    }

    #header h1{
    width:250px;
    margin:5px 20px 0;
    float:left;
    }

    #header p{
    width:500px;
    float:right;
    text-align:center;
    color:#a0a0a0;
    margin:0 0 10px 0;
    font-size:0.8em;
    line-height:1.2em;
    background-color:inherit;
    }

    #frontphoto{
    margin:0 0 10px 0;
    border:0;
    }

    #avmenu{
    clear:left;

    float:left;margin-left:0;
    padding-left:0;
    font-size:0.9em;
    }
    .announce{
    margin:0 0 0 0;
    padding:0;
    width:130px;
    color:#505050;
    background-color:#f4f4f4;
    line-height:1.3em;
    }

    #extras{
    float:right;
    width:120px;
    margin:0 0 10px 0;
    padding:0;
    font-size:0.9em;
    line-height:1.5em;
    }

    #extras p{
    margin:0 0 1.5em 0;
    }

    #content{
    margin:0 130px 20px 160px;
    border-left:1px solid #f0f0f0;
    border-right:1px solid #f0f0f0;
    padding:0 10px 0 10px;
    line-height:1.6em;
    text-align:left;
    }

    #content h2{
    font-size:1.5em;
    margin:0 0 0.5em 0;
    }

    #content img{
    padding:1px;
    display:inline;
    background:#cccccc;
    color:#303030;
    border:4px solid #f0f0f0;
    }

    h3{
    font-size:1.3em;
    margin:0 0 10px 0;
    }

    a{
    text-decoration:none;
    color:#286ea0;
    }

    a:hover{
    text-decoration:underline;
    color:#286ea0;
    }

    a img{
    border:0;
    }

    #footer{
    clear:both;
    margin:0 auto;
    padding:10px 0 20px 0;
    border-top:4px solid #f0f0f0;
    width:760px;
    text-align:center;
    color:#808080;
    font-size:0.9em;
    }

    #footer a{
    color:#808080;
    text-decoration:none;
    }

    #footer a:hover{
    text-decoration:underline;
    }

    .left{
    margin:10px 10px 5px 0;
    float:left;
    }

    .right{
    margin:10px 0 5px 10px;
    float:right;
    }

    .textright{
    text-align:right;
    }

    .center{
    text-align:center;
    }

    .small{
    font-size:0.8em;
    }

    .bold{
    font-weight:bold;
    }

    .hide{
    display:none;
    }
    /* side menu */
    #sideMenu ul {
    list-style:none;
    width:150px;
    padding:0;
    margin: 0px;
    }

    #sideMenu a {
    font-weight:bold;
    height:20px;
    text-decoration:none;
    color:#505050;
    display:block;
    padding:6px 0 0 10px;
    background:#f4f4f4;
    border-left:4px solid #cccccc;
    font-size:1.1em;
    }
    #sideMenu li.here a {
    color:#3f729f;

    }
    #sideMenu div.subdiv a {
    color:#505050;
    }
    #sideMenu div.subdiv li.here a {
    color:#3f729f;
    }
    #sideMenu a:hover, #sideMenu div.subdiv a:hover, #sideMenu li.here a:hover {
    background:#eaeaea;
    color:#286ea0;
    border-left:4px solid #286ea0;
    }
    #sideMenu ul li ul li a {
    }
    _____________________________________________________________
    Any help is greatly appreciated. The best site I have up is www.hillscollisioncenter.com .

    Thanks!
    Joel Logan
    Hanmpton, GA
      • 14424
      • 28 Posts
      I got an email saying someone had posted a reply to my problem but I don’t see a reply? :’(

      Joel Logan
        • 14050
        • 788 Posts
        His newest version does exactly what you are requesting:

        http://www.opendesigns.org/preview/?template=44
          Jesse R.
          Consider trying something new and extraordinary.
          Illinois Wine

          Have you considered donating to MODx lately?
          Donate now. Every contribution helps.