PB and tables

PB and tables was created by trogladyte

Posted 7 years 3 months ago #39404
Merry Christmas and Happy New Year Ced!

I have just started a new site where they have quite a bit of data in tabular form, so I've been working my way through learning how PB's table work. I have figured it out pretty much (took me a bit to figure out makign styles first!! :) )

www.ckdev.info/cp/index.php?option=com_c...icle&id=8&Itemid=195

I cannot get the text to align vertically in the cell. I have tried a negative internal padding on the bottom to no affect. I've also tried a small line height - same result.

I really would like to bring the bottom edge of the cell up, so that this action makes the text centered vertically. See the attached image - the left hand cell is what I want, the right hand cell is how it currently displays.

Also, not sure why the Cessna 172 cells are short.

As usual, I'm sure it's simple, but been banging my head over this for a couple f weeks before I wrote.

Cheers

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Last Edit:7 years 3 months ago by trogladyte
Attachments:
Last edit: 7 years 3 months ago by trogladyte.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PB and tables

Posted 7 years 3 months ago #39410
Hi
if you want to use a simple table, just use the table tag within an editor and not the table element which is designed for price tables for example ;)

in your editor >> add table >> fill it in the cells, this is simple
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic PB and tables

Posted 7 years 3 months ago #39425
OK, I figured that, if you'd done a table option that would be the right thing to use.

So, I added a simple table and added padding to it, and, though it shows in the backend, it's not showing as padding in the frontend. If I do an inspect, there is no padding showing.

Not sure what I'm doing wrong.

Happy New Year!!

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PB and tables

Posted 7 years 3 months ago #39430
Code:
td { padding: 10px; }
this works

if you'd done a table option that would be the right thing to use.

the table system that I have developped is specific for price tables and custom tables. For standard table you can use your editor

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic PB and tables

Posted 7 years 3 months ago #39447
Thanks Ced. Not sure why adding the padding in the table setup in JCE doesn't work - it used to. Your method is great though.

Have you seen what happens when you're using PB and select the "Code" tab? At least for me, the code window (which can be stretched down but not to the right) is only about 2" wide.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PB and tables

Posted 7 years 3 months ago #39451

Have you seen what happens when you're using PB and select the "Code" tab?

I don't know where you are here ... can you show me with a screenshot ?

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.640 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 612 guests and no members online