Avatar display Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Avatar display

    Mr Rockeye
    Mr Rockeye
    Forumember


    Posts : 86
    Reputation : 1
    Language : English

    Solved Avatar display

    Post by Mr Rockeye June 13th 2014, 6:39 pm

    Hey,

    So I want to put the following in CSS to my site:
    A location for the avatar, this location won't be overlapped by any other items.

    I tried it with the following code:
    Code:
    .postprofile dl dt img {
          width: 150px;
          height: 150px;
    }
    But stretches the image, which isn't supposed to happen according to my plan.
    Does anyone know how to fix this?

    This can be solved by a second solution which I prefer (as is it more neat) that goes as follows:
    If the avatar has a length of Y pixels high, how can I position my labels on, lets say Y+10 Pixels?
    Is there a code for this?


    Last edited by Mr Rockeye on June 15th 2014, 9:18 pm; edited 1 time in total
    Jophy
    Jophy
    ForumGuru


    Male Posts : 17922
    Reputation : 836
    Language : English
    Location : Somewhere

    Solved Re: Avatar display

    Post by Jophy June 15th 2014, 9:34 am

    Hello,

    If you're referring to the location only, I think you should remove the img to the selector as it would only apply to the image/avatar itself, try this code instead:

    Code:
    .postprofile dl dt {
          width: 150px;
          height: 150px;
    }
    Mr Rockeye
    Mr Rockeye
    Forumember


    Posts : 86
    Reputation : 1
    Language : English

    Solved Re: Avatar display

    Post by Mr Rockeye June 15th 2014, 9:17 pm

    Thanks it worked Smile
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51496
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Avatar display

    Post by SLGray June 15th 2014, 11:38 pm

    Topic Solved & Archived



    Avatar display Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.