Results 1 to 5 of 5

Thread: Code for Smiley

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Code for Smiley

    I blog at www.iblog.co.za and our smileys have a grey square background and it ticks me off no end, because I am a perfectionist. I want my smilies to look like the ones on this site.
    Can anybody give me the CSS code to remove the grey square background, i.e. a no border code.
    Thanks, much appreciated.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Exclamation

    Page doesn't work.

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Yeah, I'm getting a 403 error. Check your permissions.

    Anyway, assuming that the gray background isn't in the image itself (which is likely) and there is a selector on the smiley images, you can do the following:

    Code:
    img.smiley {
       border:none;
    }
    "smiley" would be a class on the image tag.

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    I got the page just found, even found her blog. Looks like she is referring to the border of the images, which is a 1 px gray square around images, and turns blue when moused over. The way this is set up though it appears it is a shared blog site, and I am not sure of the amount of control she will have over the overall layout.

    Added screen shot for those that can't access the site... (I couldn't find any "smilies" just pictures and thumbnails )
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Libbyza,
    Please be more specific as to what portion of your site you're referring to. I am able to access it now, by the way.

Bookmarks

Posting Permissions

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