Treehouse: Grow your CSS skills. Land your dream job.

CSS/HTML Problems

  • # January 12, 2012 at 3:25 pm

    Hey everyone, I have two problems with a site that I am working on.
    -First I cant get my Twitter and Facebook Buttons to shift over to the right a bit.
    – I am trying to delete the grey space below the social media buttons or move the pink line down.

    Any help on this would be great!

    # January 12, 2012 at 3:44 pm

    Add this: padding: 5px 10px 0 10px;

    To this: .journal-entry-tag-post-body

    # January 12, 2012 at 3:56 pm

    to drag buttons to right
    you can add margin-left: 5px to post-snippet-1

    to remove gray line
    .journal-entry { margin-bottom: 2em; }
    .journal-entry { margin-bottom: 0; }
    on your css

    # January 12, 2012 at 4:03 pm

    Thanks! @TheDoc and @hoamca

    # January 12, 2012 at 10:13 pm

    the twitter and facebook links are direct links to there respective sites and not the profile. Kinda useless unless it is work in progress.

    # January 13, 2012 at 2:13 am

    .post-snippet-1, .post-snippet-2, .post-snippet-3 {
    float: right;
    padding-right: 12px;

    you can add float:right to your css class like above i have shown

    # January 13, 2012 at 4:42 pm

    Thanks everyone for the awesome help. @springlab I have not hooked up the links yet to the proper pages. Thanks for letting me know though.

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

You must be logged in to reply to this topic.