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.

How to modify margins with javascript?

2 posters

Go down

How to modify margins with javascript? Empty How to modify margins with javascript?

Post by GAT:TEA May 23rd 2012, 8:08 pm

Hi, does anyone know how I can change margins in particular the left side using pure javascript/jquery? I'm only looking to apply this to my portal, so I don't want a css solution.
avatar
GAT:TEA
Forumember

Female Posts : 71
Reputation : 13
Language : English
Location : Chicago

Back to top Go down

How to modify margins with javascript? Empty Re: How to modify margins with javascript?

Post by LGforum May 24th 2012, 12:27 am

The CSS solution would be much better... Just put the CSS in style tags in a widget, and put that widget in the portal but not the rest of the forum.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Back to top

- Similar topics

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