Forums

[resolved] First "post" centered with all styles cleared...user agent stylesheet? (4 posts)

  1. dave
    Member
    Posted 1 year ago #

    Hi,

    I'm having a real problem with getting my content to align correctly. I'm trying to float my content div, "post," to the left, and my sidebar to the right. For some reason the content div is being centered, and then only the first "post" div when there's more than one(like on the blog page), although I'm calling the same class for each.

    The site I'm working on is here: http://thegallerymusic.com/testing

    Have a look at a regular page (the content is centering, ie. display: block, from some random user agent stylesheet) and then look at the blog (the first post is centering, while the rest are floating left correctly).

    I'm at a loss. Probably simply overlooking something. Thanks for any help.

  2. kmessinger
    Member
    Posted 1 year ago #

    Your vintage girls logo's white space is barely blocking your post. Just reduce the white space in the logo.

  3. dave
    Member
    Posted 1 year ago #

    perfect! thanks so much. just a tired oversight. i appreciate it.

  4. dave
    Member
    Posted 1 year ago #

    ...sorry, another quick question:

    On the blog page of the site I previously posted, the sidebar is being pushed to the bottom, whereas on other pages it's in the right spot. I'm using the same page template for the blog as for the other pages. I checked the divs and things around it, so I'm sure this is another little thing I'm overlooking.

    Any ideas? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic