• I want my blog to have a width of 700px, just the width of the header image. The problem is that I define the rap as 700px, but it doesn’t function. Is this the tag to define the general width, height of the blog?
    Now I’m not at home, but i’ll put how I have #rap defined later on.
    Now I have done it more or less for a 1024 resolution, but it doesn’t function for different resolutions.
    Any idea how to solve it?
    Thanks from a newbie.

Viewing 10 replies - 1 through 10 (of 10 total)
  • That’s the right tag … have you given it any other properties, or otherwise given properties that will conflict with other elements ?

    I could not see a width for your rap at all.

    Your CSS says

    #rap {
    margin: 0px 140px 0px 140px;
    border-left: solid #000 1px;
    border-right: solid #000 1px;
    border-top: solid #000 1px;
    background: white;
    }

    No width.

    Thread Starter nastrud

    (@nastrud)

    Now there’s no width cause it doesn’t function that order so I decided to try that option :/

    Have you considered starting with a new template so you do not need to stress out on the layout any more?

    Thread Starter nastrud

    (@nastrud)

    It seems that it functions… Root, this is the second laypout i’m trying to do. I think I can go on with it a little more.
    I want to center the blog and at the same time keep a width of 700 px. But if I do this with less and more resolution, it turns a mess.

    Well you need a #rap at 700px around the whole enchilada, with margin -left and right at auto.

    Thread Starter nastrud

    (@nastrud)

    Perfect! 🙂
    To take effect also with the footer what should I do? I tried to put it there but it didn’t go.

    OK. In #rap in your CSS it should read

    #rap {
    width: xxxpx;
    margin-left: auto;
    margin-right: auto;
    other stuff here
    }

    Then in index php your #rap should close after p credits. This is not a perfect layout by any means but that is the answer to the question as presented. HTH.

    Thread Starter nastrud

    (@nastrud)

    Just great! I’ve done the modifications you suggest and simply perfect. Lots of thanks 🙂
    Let’s do the navigation bar now..

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Blog’s width’ is closed to new replies.