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.
The forum of the forums
3 posters

    Username effect problem?

    avatar
    RobChief
    New Member


    Posts : 2
    Reputation : 1
    Language : English

    Solved Username effect problem?

    Post by RobChief October 12th 2013, 12:08 am

    Hi, so im trying to get this as my background to my username: https://i.imgur.com/Sv3ky3v.gif

    I can do it, and it works, but only the top part of the gif displays since the picture is too big in width. The flames get cut off. 

    Is there any way I can center/move the image so that the bottom portion of the pictures gets displayed behind my username? thanks in advanced! Smile
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Username effect problem?

    Post by Ange Tuteur October 12th 2013, 1:06 am

    Hello RobChief,

    Try using these properties in your username code:
    Code:
    background-position:center bottom;
    background-image: url("http://i.imgur.com/Sv3ky3v.gif");
    You don't need background image if you already have it set, just adjust the image with the background position property. For a list of values consult the following link.

    http://www.w3schools.com/cssref/pr_background-position.asp
    avatar
    RobChief
    New Member


    Posts : 2
    Reputation : 1
    Language : English

    Solved Re: Username effect problem?

    Post by RobChief October 13th 2013, 4:18 am

    SethC1995 wrote:Hello RobChief,

    Try using these properties in your username code:
    Code:
    background-position:center bottom;
    background-image: url("http://i.imgur.com/Sv3ky3v.gif");
    You don't need background image if you already have it set, just adjust the image with the background position property. For a list of values consult the following link.

    http://www.w3schools.com/cssref/pr_background-position.asp
    Thank you SO much!!! However, I found it better to remove the "bottom" from background-position:center bottom;
    Thank you for the fast response Smile Solved!!
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Username effect problem?

    Post by SLGray October 13th 2013, 4:27 pm

    Topic Solved & Locked



    Username effect problem? Slgray10

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

      Current date/time is November 11th 2024, 10:47 pm