• I had made a small modification to the default layout file of WordPress so that the pages is centered and fixed width, which I favor. The colour style is not changed.
    If some of you are interested in such a design, it can be downloaded here. An example in action here.
    To let it work great, one have to add a line of “<br clear=”all” />” to the index.php file after the second last </div> tag.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    I love the design. Thank you very much.

    On a related note…is there a reason that the “credit” paragraph is a) a paragraph and not a div and b) not in the “rap” div? Including it in the wrapper makes coding certain styles much simpler…

    funy you should mention that about the credits para…. I’m wondering the same thing… causing me some grief in building a css file to submit ….. *roll eyes*
    TG

    CSS works the same on a paragraph and a div, they are both block elements.

    If you want it in the #rap DIV, then move it there. There is no particular reason for it, although my personal preference is to use a < p > tag for a paragraph of text. If I need a container to hold a bunch of stuff, my preference is to use a DIV. That being said, nobody will die nor will the world end if you do either, neither, or both! 🙂
    Craig.

    @nm: could you tell us how to insert .credit into #rap without editing index.php? I’ve having some trouble with this…

    Well, you *may* have to edit INDEX.PHP…basically, you just need to ensure that the DIV or P block level element you assign the .credit class to falls in between < div id=”rap”> and the very last < /div > on the INDEX.PHP file.
    Does that help? If not, please don’t hesitate to post back another question.
    Craig.
    PS: What specific problem are you having?

    yeah, I know how to do it editing index.php, I just wanted to know how to do it using only css, because I don’t think the layout competition lets you change index.php.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wordpress css layout’ is closed to new replies.