Viewing 15 replies - 1 through 15 (of 16 total)
  • try adding float:left to your sidebar, and possibly margin: 0 auto; to your page.

    I’d also remove the margin in .narrowcolum, personally.

    Thread Starter mattcbrown

    (@mattcbrown)

    Almost! That solved the problem of getting the sidebar and posts aligned. Thanks so much for that.

    But if you look at the page in Firefox, you’ll see that the whole thing still isn’t centered. Help me solve that last issue and I’ll be your slave for life!

    This should be good…
    remove the margin: 0 from the body style

    Thread Starter mattcbrown

    (@mattcbrown)

    Hmm… That did something, but not what we wanted it to do. It created a slight margin on the top (10px?) and another on the left (also about 10px). That’s all though.

    Any other suggestions, miklb. I am not quite your servant yet.

    Matt

    Remove the zero margin and padding for body structure style, but leave the margin:0 auto; in page, you currently have it in body.

    Thread Starter mattcbrown

    (@mattcbrown)

    OH MY GOD! You are officially my master. Thank you so much.

    And as a gift for being such a great helper, I shall ask you one last question: Any idea how I could move the post text over slightly? There’s too much of a margin between the sidebar and the narrowcolumn.

    Again, thanks! You’ve been an amazing help.

    Personally, I’d change the .narrowcolumn float:right to float:left, and then add a margin-left: 15px; or what ever gets you where you want it to.

    Edit- transposed the floats

    Thread Starter mattcbrown

    (@mattcbrown)

    Well, I am utterly and completely flabergasted. You completely solved all my problems.

    Thanks so much, miklb. I can’t tell you how appreciative I am!

    Your welcome. Most of what I’ve learned about CSS has come about from my exposure to WP, and its community. I simply aim to share, and help where I can.

    Thread Starter mattcbrown

    (@mattcbrown)

    Well, you’ve certainly helped me!

    I’m off to bed now. I can finally go to sleep now that those problems are solved.

    Thanks again.

    Thread Starter mattcbrown

    (@mattcbrown)

    I feel like a jerk asking yet another question, but… here goes.

    Any idea how to make the sidebar stretch the full length of the page?

    I’m confused. It appears you fixed it?

    Thread Starter mattcbrown

    (@mattcbrown)

    No. I just tried setting the HEIGHT to 1000px to see if it would work at all. It does, of course, but I only want it to be the length of the post. You know what I mean?

    Ah, well, I can’t trouble shoot with that in there.

    Thread Starter mattcbrown

    (@mattcbrown)

    I fixed it.

    I’m reading about “Faux Columns.” Maybe that’s what I have to do, but it sounds like a pain in the butt.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘What am I doing wrong?’ is closed to new replies.