CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Cant find the right Statement - Newbie Help Request
https://forum.cmsmadesimple.org/viewtopic.php?f=20&t=2667
Page 1 of 1

Author:  snew [ Sun Jan 08, 2006 2:25 pm ]
Post subject:  Cant find the right Statement - Newbie Help Request  Topic is solved

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]

Author:  tsw [ Sun Jan 08, 2006 3:12 pm ]
Post subject:  Re: Cant find the right Statement - Newbie Help Request

\$1:
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

\$1:
    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

\$1:
    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  ;)

Author:  snew [ Sun Jan 08, 2006 3:35 pm ]
Post subject:  Re: Cant find the right Statement - Newbie Help Request

Thank you so much, now i've got it.  ;D

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/