Is there an easier way to apply center align to all images in my applications through the Class Name.
It seems to be error prone and very time wasting to have to apply centering to every image in the application ?
Thoughts? ideas ?
Is there an easier way to apply center align to all images in my applications through the Class Name.
It seems to be error prone and very time wasting to have to apply centering to every image in the application ?
Thoughts? ideas ?
If all images which should be centered have common CSS class you can specify properties for this class in CSS asset.
I tried that, but was not successful. Here is what I have tried
.my_logo{
align: center;
margin: auto;
}
Do you think you can share an example or two. Maybe I am doing something wrong.
Try to use
pre
!important
/pre
with your CSS style. http://www.w3.org/TR/CSS2/cascade.htm...