End of Support for Joomla 3 - Forum closed

[SOLVED] cellspacing / boder-spacing

cellspacing / boder-spacing was created by tanja@star-poledance.de

Posted 6 years 2 months ago #25547
Hi,

What do I have to add to the custom.css in order to have cellspacing in my tables? I tried
.border-spacing td {border-spacing:5px}
but no success so far.

Thanks,
Tanja

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

Replied by joomlaplates on topic cellspacing / boder-spacing

Posted 6 years 2 months ago #25548
It should be like this

.border-spacing td {padding:5px}

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

Replied by tanja@star-poledance.de on topic cellspacing / boder-spacing

Posted 6 years 2 months ago #25549
Thank you, but I wanted to change the spacing in between the lines and columns, not the cell padding. What's the correct code for this?

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

Replied by joomlaplates on topic cellspacing / boder-spacing

Posted 6 years 2 months ago #25553
Give your table an ID and set the border-spacing in css
www.w3schools.com/cssref/pr_border-spacing.asp
The following user(s) said Thank You: tanja@star-poledance.de

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

Replied by tanja@star-poledance.de on topic [SOLVED] cellspacing / boder-spacing

Posted 6 years 2 months ago #25557
Problem solved.

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

Moderators: joomlaplates
Powered by Kunena Forum