Page 1 of 1

Moving content

Posted: Sun May 28, 2006 6:06 pm
by Kaylen
I have a big gap between my left vertical menu and my content (see picture)
I want the content to start closer to my menu (see picture 2)
Can anyone tell me how I can do that?

[attachment deleted by admin]

Re: Moving content

Posted: Sun May 28, 2006 6:15 pm
by Dr.CSS
look thru CSS for #content  or whatever it is in and adjust size  ie.  width:??px...  how wide the 'box' is
also check  margin:??px  could be margin-left:??px  how much it's pushed away from other 'boxes' or other 'boxes' are pushed away from it...

    mark

Re: Moving content

Posted: Sun May 28, 2006 6:46 pm
by Kaylen
ok cool I see what you mean and I am playing with the margins and the width.
But when I say margin-right: 250 px the content moves closer to the menu (the way I want it) but then the length of the tekst gets smaller ( big part of white now to the right of my content)

[attachment deleted by admin]

Re: Moving content

Posted: Sun May 28, 2006 8:35 pm
by Dr.CSS
default install has this in CSS...

    div#main {
        float: right;
        width: 70%;
        padding: 0 2%;
        display: inline;
    }
if you have this just increase the % for width... also below this is one for menu_vert...

    div#menu_vert {
        float: left;
        width: 25%;
        display: inline;
        margin-left: 0;
    }

if it gets pushed down you need to change the % in this also....

in Firefox the way i said you can do this and see it happen, it also will outline boxes, tables, etc. etc.  so you can see how much room you have to move around in...

    mark
ps. there is a crude Web Dev. bar for IE just for outlines and stuff no CSS edit....

Re: Moving content

Posted: Mon May 29, 2006 8:41 am
by Kaylen
ok thnx I haddn't thought of the main, was just playing with the content. I will try this and let you know!