KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have jquery accorion id #accordion and some of the content inside header class name .simpleColor . Now I want to give a calculated margin to .simpleColor. In pseudo...it looks something like this, .simpleClass { margin-left: ((#accordion.width/2) - (.simpleColor.width/2)); } I am open to use any other technology such as javascript to achieve this if it is possible.
Tags (comma-separated)
Save Edits
Cancel