• 0
Sign in to follow this  
Followers 0

Align table body text to the left

Question

Posted · Report post

Dear all, lease help me align the text inside my tables to the left. What do I have to add, and where ? Adding in custom css tbody{ text-align:left; } doesnt change anything. I tried to display these informations through banners and through boxes section added into the page template but then I have them on all pages, and they show up in a single long column that ruins my pages. I only want them to show on one page. I want in fact a table that aligns properly ! In a word, its complicated. please help.

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

You'll laugh, but when you see your table in visual editing mode, simply place your cursor in the cell you want flushed left, click or highlight, then go to the full kitchen sink WYSIWIG control area (above the edit box) and use the Left Alignment option there. It will write the CSS directly into the table cell. Why there and not in CSS Rules? Because you may have different cells that need different alignment. The CSS you have shown above, would only align the body of the table itself, not the cells within the table.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm not laughing, 'm rofling. this is how you can sometimes spend half a day being a noob :)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Took me 2 days... and I still consider myself a newbie.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0