bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

Centering a control?

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 ?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Centering a control?

If all images which should be centered have common CSS class you can specify properties for this class in CSS asset.

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

Centering a control?

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.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Centering a control?

Try to use
pre
!important
/pre
with your CSS style. http://www.w3.org/TR/CSS2/cascade.htm...

Return to “Issues”