align text

Talk about implementation of CSS styles, skins etc.

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

gsanchez
Junior
Junior
Posts: 19
Joined: Oct 1st, '14, 15:56

align text

Postby gsanchez » Oct 2nd, '14, 23:54

Hi:

I have this code to put a title in the top of my edit window, all is fine but in edit/view mode the title is centered (image1) but in add mode is left align (image2)

Code: Select all

 
    $em_columns = array(
       'delimiter_1'=>array("inner_html"=>"<span style='font-size:14px;font-weight:bold;color:#336699;text-align:center'>&#8226; <i>General</i></span>"),   
        ...


I would like the title centered

any idea?

Thanks
Attachments
image2.png
image2.png (118.64 KiB) Viewed 632 times
image1.png
image1.png (118.94 KiB) Viewed 631 times

administrator
Site Admin
Site Admin
Posts: 5992
Joined: Jan 7th, '09, 23:18
Contact:

Re: align text

Postby administrator » Oct 3rd, '14, 03:45

Remove text-align:center from your CSS for "General"


Return to “Settings: CSS styles”