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.

Raise a text/link/box

3 posters

Go down

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

Post by Ace 1 Fri Sep 11, 2015 10:02 pm

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.
Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

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

Post by Ange Tuteur Fri Sep 11, 2015 11:18 pm

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.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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

Post by SLGray Fri Sep 11, 2015 11:25 pm

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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum