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

    Raise a text/link/box

    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    Raise a text/link/box Empty Raise a text/link/box

    Post by Ace 1 Fri 11 Sep 2015 - 23:02

    I want to raise something by like 5px.

    I tried this but it didn't work Sad

    Code:
    .raised { padding: 0 0 5px 0 }

    pls.
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Raise a text/link/box Empty Re: Raise a text/link/box

    Post by Ange Tuteur Sat 12 Sep 2015 - 0:18

    Hi @Ace 1,

    Is the element you're trying to apply this to an inline element ? If so, try adding display:inline-block; to your rule.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Raise a text/link/box Empty Re: Raise a text/link/box

    Post by SLGray Sat 12 Sep 2015 - 0:25

    You have to use the CSS selector for whatever you want to modify.  What exactly are you trying to modify?



    Raise a text/link/box Slgray10

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

      Current date/time is Thu 14 Nov 2024 - 12:49