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 September 11th 2015, 11: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 September 12th 2015, 12:18 am

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 September 12th 2015, 12:25 am

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 : 51576
Reputation : 3525
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