I have a table on one of my confluence pages that I would like to have more freedom styling things such as column widths, borders etc. Specifically I am having trouble with getting the correct syntax to set column widths for the table in HTML.
The below code is what I have inserted into my HTML macro and works perfectly, could someone give me a hand with adding in the colgroup and col widths into this snippet?
Thank you so much in advance!
<style>
#com-atlassian-confluence table,
#com-atlassian-confluence .confluenceTable { border-collapse: collapse;
padding: 0px;
height: 100%;
border-left: 1px solid rgb(100,100,100);
border-top: 1px solid rgb(100,100,100);
border-right: 1px solid rgb(100,100,100);
border-bottom: 1px solid rgb(100,100,100);
}
#com-atlassian-confluence th,
#com-atlassian-confluence .confluenceTd { border-collapse: collapse;
font-size: 14px;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
height:100%;
border-left: 1px solid rgb(100,100,100);
border-top: 1px solid rgb(100,100,100);
border-right: 1px solid rgb(100,100,100);
border-bottom: 1px solid rgb(100,100,100);
}
</style>