Page 1 of 1

Cant find the right Statement - Newbie Help Request

Posted: Sun Jan 08, 2006 2:25 pm
by snew
Hello first of all,
i am new with cms made simple and realy impressed of all the possibilities.

I am trying for a time now and want to start building a site.

I've got a problem with following:

1. I am using the template EllNav Horiz/Vert L 1col
2. I've like to have the site width at all a little bit more width so i set the width in tehe Layout css like these
    }
    div#page {
      width: 900px;
        margin:  10px auto 10px auto;
        padding: 0;
        text-align: left;
    }
3. Look to the behaviour of the site on the picture i added.

My problem is that when i try to make the content section more width then it dont work.

Maybe you got a hint for me in which section i have to set the statement? I've tryed so much at all and learned a lot but i don get it at all so far.

Thank you.


[attachment deleted by admin]

Re: Cant find the right Statement - Newbie Help Request

Posted: Sun Jan 08, 2006 3:12 pm
by tsw
1. I am using the template EllNav Horiz/Vert L 1col
2. I've like to have the site width at all a little bit more width so i set the width in tehe Layout css like these
    }
    div#page {
        width: 900px;
        margin:  10px auto 10px auto;
        padding: 0;
        text-align: left;
    }
3. Look to the behaviour of the site on the picture i added.
You need edit Layout EllNav H/V L 1Col css file also

Code: Select all

    div#content {
        position: relative;
        width: 861px; <--- this to proper value
         /* this could be 100%; ?? */        
        margin: 15px auto 20px 0;
        padding: 0;

        text-align: left;
        border:1px solid green; <-- good for debuggin
    }
and

Code: Select all

    div#main {
        float: right;
        width: 550px; <-- this
        display: inline;
border:1px solid red; <-- again debuggin :)
    }
as you can see main is inside content and as it has width specified it will not take all space.

This kind of problems are quite easy to check by setting borders around divs and see where it ends  ;)

Re: Cant find the right Statement - Newbie Help Request

Posted: Sun Jan 08, 2006 3:35 pm
by snew
Thank you so much, now i've got it.  ;D