Moving content

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Moving content

Post 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]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Moving content

Post 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
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: Moving content

Post 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]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Moving content

Post 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....
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: Moving content

Post 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!
Post Reply

Return to “Layout and Design (CSS & HTML)”