PB and tables
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
8 years 4 months ago - 8 years 4 months ago #39404
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
PB and tables was created by trogladyte
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
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: 8 years 4 months ago by trogladyte.
Please Log in or Create an account to join the conversation.
8 years 4 months ago #39410
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic PB and tables
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
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
Please Log in or Create an account to join the conversation.
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
8 years 4 months ago #39425
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Replied by trogladyte on topic PB and tables
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!!
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.
8 years 4 months ago #39430
by ced1870
this works
Joomlack Webmaster and Developer
Replied by ced1870 on topic PB and tables
Code:
td {
padding: 10px;
}
the table system that I have developped is specific for price tables and custom tables. For standard table you can use your editorif you'd done a table option that would be the right thing to use.
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
8 years 4 months ago #39447
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Replied by trogladyte on topic PB and tables
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.
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.
8 years 4 months ago #39451
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic PB and tables
I don't know where you are here ... can you show me with a screenshot ?Have you seen what happens when you're using PB and select the "Code" tab?
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.220 seconds