Forums

  • # November 26, 2012 at 4:41 pm

    I have been trying to figure out how to remove the margin-top on the first paragraph which appears on a page under an H1 with the class of entry-title I was reading http://css-tricks.com/child-and-sibling-selectors/ but couldn’t figure it out.

    Here is the html and css on pastebin (couldn’t get it work work in the forum)

    http://pastebin.com/rjGu2aPv

    However that is doing nothing to affect the first paragraph under the H1 tag. What am I doing wrong?

    Thanks,

    Chad

    # November 26, 2012 at 5:11 pm

    Hi @aeboi80

    I have noticed in your pastebin that you have mis-spelled content in the CSS. Also you have put a ‘+’ to seperate the two selectors, when with CSS syntax you should use a comma (I think?) try and make them changes and see what you get…

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag