WordPress.org

Ready to get started?Download WordPress

Forums

Problems with defining #rap (2 posts)

  1. the_panic
    Member
    Posted 9 years ago #

    Hello, I'm new to this forum and also new to the WP. It's an amazing software, thanks to everyone who helped to make it!
    Now I came to one basic problem (besides that I deleted and created new wp-layout.css many times :P). I followed Podz guide at http://www.tamba2.org.uk/wordpress/graphicalcss/rap/index.html. I want my blog to look 'narrower'. As suggested I added to .css file this:
    #rap {
    margin: 0px 100px 0px 100px;
    border: solid #000 1px;
    background: white;
    }
    I also corrected top and right values of the menu element to 104px and 88px.
    In main view it all looks fine but when I click on comments the right border is moved few pixels to the right.
    I had the same problem when I redesigned blog using float for all elements (header, content, menu and footer).
    I tried to figure it out but didn't succeed. Can anyone help me out with this?
    Thank you
    Link to my 'blog': http://jaroslav.freeserverhost.com
    P.S. I guess you already noticed that english is not my native language but I hope you understand what I meant :))

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    One way to do this would be to define a width:
    #rap {
    margin: 0 auto;
    width: 600px
    border: solid #000 1px;
    background: white;
    }
    If you then get elements breaking through, you need to hunt them down ... with the comments page, it could be the textarea
    You have this:
    #commentform textarea {
    width: 100%;
    }
    Try making it a definite size:
    #commentform textarea {
    width: 450px;
    }
    If you are after a solid 2 column layout, then I'd recommend Gemini
    http://www.atthe404.com/wordpress

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.