atotheme Posted June 2, 2020 Share Posted June 2, 2020 Site URL: https://www.jaiminee.com/ I followed this guide on how to insert a table into SS and I'm pretty happy with how it's turned out, but, with no prior knowledge of code, I don't know how to make sure all the columns are equal in size. Currently all the cells are set at 4px padding. Could anyone help? Thanks, Amy Link to comment
tuanphan Posted June 3, 2020 Share Posted June 3, 2020 What is access password? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
atotheme Posted July 30, 2020 Author Share Posted July 30, 2020 Hi @tuanphan I managed to figure it out with this code: //TABLE CM+INCHES// .grid-container{ display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr 1fr; width: 100%; height: 200px; border: 1px solid #000000; } .empty{ background-color: white; grid-column-start: 1fr; border-bottom: 1px solid #000000; border-right: 1px solid #000000; } .size{ font-weight: bold; display: flex; justify-content: center; align-items: center; border-bottom: 1px solid #000000; border-right: 1px solid #000000; } .size-4{ display: flex; justify-content: center; align-items: center; border-bottom: 1px solid #000000; } .body-pos{ display: flex; font-weight: bold; justify-content: center; align-items: center; border-bottom: 1px solid #000000; border-right: 1px solid #000000; } .body-pos-2{ display: flex; font-weight: bold; justify-content: center; align-items: center; border-right: 1px solid #000000; } .number{ display: flex; justify-content: center; align-items: center; border-bottom: 1px solid #000000; border-right: 1px solid #000000; } .number-1{ display: flex; justify-content: center; align-items: center; border-right: 1px solid #000000; } .number-2{ display: flex; justify-content: center; align-items: center; border-bottom: 1px solid #000000; } .number-3{ display: flex; justify-content: center; align-items: center; } Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment