WebSite X5Help Center

 
Enrico N.
Enrico N.
User

Customize tables  en

Auteur : Enrico N.
Visité 1905, Followers 1, Partagé 0  

I wonder to customize something in a few tables, that is the border thickness and increase the distance from the border of the text contained in (all) the cells.

In other terms, I would like to introduce some instructions like

.table {
border: 1px solid black;
padding: 18px;
}

in the .css file to let all of my tables perform like that.

Is it possible to do that in Website v12 ?

Posté le
4 RéPONSES - 2 UTILE
Andre E
Andre E
Moderator

Maybe I don't understand but you can set this in x5.

goto step 3 select the table, just select don't double click. Then press cell style button on top (or use right mouse button) -> cell style -> edit. With right mouse button it is also possible to copy a fully made style to other tables / objects, this saves up a lot of work if you want more then one table or other objects with same style.

You can set border, border colours, drop shadows, inner and outer margins, backgrounds....

see also: http://help.websitex5.com/en/v12/evo/aspetto_cella.htm

Another tip that can be helpfull also for other users:

The width and height of all cells can also be set at once, just select the row or colum's then use right mouse button and set heigt or width for each cell manually.

Goodluck.


Lire plus
Posté le de Andre E
Enrico N.
Enrico N.
User
Auteur

Hi,

I tried many options in the "cell style" section, but without luck.

Let me explain better: I have added a "table" object in a cell, and I wonder to modify something in the graphical aspect of this table.

In the attached file (part of) the table I have now, and (part of) the table I wonder to obtain.

I have no problem with the text part (fonts and/or colors), but my main goal is to put a distance between text and the table margins, for example a distance of 18 pixels.

Thank you

Enrico 

Lire plus
Posté le de Enrico N.
Andre E
Andre E
Moderator

Enrico,

These options are not possible at the moment.

What you could do is to create an Idea post here in answers with this suggestion, the Incomedia will then take a look to see if they can create it in futere releases.

Thanks,

Lire plus
Posté le de Andre E
Enrico N.
Enrico N.
User
Auteur

Ok, thank you for your help.

Lire plus
Posté le de Enrico N.