Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2013
    Location
    East Coast, USA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Why Isn't My Code Working?

    I want my links to be block-like. Instead, they look like this:http://i44.tinypic.com/20p7mg1.jpg That's not want I want. Instead, I want something more like this (http://i40.tinypic.com/2na76ys.jpg) (except not so big) and I want the set up the same.
    For example,
    BLOCK LINK wrote on BLOCK LINK
    And I want that all on one line. With regular block links though, it's usually one per line. So I need help, please.
    Site: http://sugar-baby.org/ <--- All of the coding regarding this can be seen there.

  • #2
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    Even though you set the display to block, this is overriding it:

    Code:
    .recentcomments a {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    }
    So, your anchors are still inline elements, and therefore, the width/height properties are not working.
    My signature :)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •