You are viewing limited content. For full access, please sign in.

Question

Question

Center align column labels in Laserfiche Forms

asked on October 9, 2015

How do you center align column labels in a table in Laserfiche Forms please?

 

Thanks

Priya

0 0

Replies

replied on October 9, 2015

I think it's answered over here

 

This is what I use for it:

.cf-table th {text-align: center;}

 

Let me know if this doesn't work out.

 

Cheers,

Carl

 

2 0
replied on October 9, 2015

Ok, thanks Carl.

 

Priya

0 0
replied on October 9, 2015

When we do this, it is applying this style to all tables in the form. Can we selectively do this to some tables please?

 

Priya

0 0
replied on October 9, 2015

Yes, you can target specific tables. In the form editor, give your table a CSS class name like mytable. Then in the custom CSS section, you can use

.mytable .cf-table th {text-align:center!important;}
1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.