The button is defined in an erb file like this
<div id="button1" class="arial buttonprop ten right">CLICK ME ></div>
That looks like jQuery. You can use
to set the location or change the alignment of the button.
I used the .css() function, i could able to do these things like
1) float : left/right ---- for left/right alignment
2) margin-left : value
margin-right : value
This also is good for left/right alignment
But for aligning to the center i tried
margin-left : auto
margin-right : auto
it doesn't seems to be working.
So Is there any other way to align the button to the center
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)