How to create a following design table












2















How to accomplish the table design, like below? What I want to achieve is the attached image and I am trying to remove the border on the right side of table and the bottom side of the last row.



enter image description here






@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>












share|improve this question




















  • 1





    developer.mozilla.org/en-US/docs/Web/CSS/border-width

    – Carol McKay
    Nov 22 '18 at 8:29











  • @Carol McKay Thanks for help

    – Dharmesh Vekariya
    Nov 22 '18 at 8:39


















2















How to accomplish the table design, like below? What I want to achieve is the attached image and I am trying to remove the border on the right side of table and the bottom side of the last row.



enter image description here






@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>












share|improve this question




















  • 1





    developer.mozilla.org/en-US/docs/Web/CSS/border-width

    – Carol McKay
    Nov 22 '18 at 8:29











  • @Carol McKay Thanks for help

    – Dharmesh Vekariya
    Nov 22 '18 at 8:39
















2












2








2


0






How to accomplish the table design, like below? What I want to achieve is the attached image and I am trying to remove the border on the right side of table and the bottom side of the last row.



enter image description here






@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>












share|improve this question
















How to accomplish the table design, like below? What I want to achieve is the attached image and I am trying to remove the border on the right side of table and the bottom side of the last row.



enter image description here






@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>








@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>





@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>






html css html-table






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 '18 at 9:31









ProgrammerPer

635713




635713










asked Nov 22 '18 at 8:13









Dharmesh VekariyaDharmesh Vekariya

5931521




5931521








  • 1





    developer.mozilla.org/en-US/docs/Web/CSS/border-width

    – Carol McKay
    Nov 22 '18 at 8:29











  • @Carol McKay Thanks for help

    – Dharmesh Vekariya
    Nov 22 '18 at 8:39
















  • 1





    developer.mozilla.org/en-US/docs/Web/CSS/border-width

    – Carol McKay
    Nov 22 '18 at 8:29











  • @Carol McKay Thanks for help

    – Dharmesh Vekariya
    Nov 22 '18 at 8:39










1




1





developer.mozilla.org/en-US/docs/Web/CSS/border-width

– Carol McKay
Nov 22 '18 at 8:29





developer.mozilla.org/en-US/docs/Web/CSS/border-width

– Carol McKay
Nov 22 '18 at 8:29













@Carol McKay Thanks for help

– Dharmesh Vekariya
Nov 22 '18 at 8:39







@Carol McKay Thanks for help

– Dharmesh Vekariya
Nov 22 '18 at 8:39














1 Answer
1






active

oldest

votes


















1














Using this css you can remove border from right and bottom



            .data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}





@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }
.data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>








share|improve this answer
























  • Thanks a lot brother

    – Dharmesh Vekariya
    Nov 22 '18 at 8:35











  • @DharmeshVekariya Welcome Mate

    – Hiren Vaghasiya
    Nov 22 '18 at 8:36











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426453%2fhow-to-create-a-following-design-table%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Using this css you can remove border from right and bottom



            .data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}





@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }
.data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>








share|improve this answer
























  • Thanks a lot brother

    – Dharmesh Vekariya
    Nov 22 '18 at 8:35











  • @DharmeshVekariya Welcome Mate

    – Hiren Vaghasiya
    Nov 22 '18 at 8:36
















1














Using this css you can remove border from right and bottom



            .data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}





@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }
.data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>








share|improve this answer
























  • Thanks a lot brother

    – Dharmesh Vekariya
    Nov 22 '18 at 8:35











  • @DharmeshVekariya Welcome Mate

    – Hiren Vaghasiya
    Nov 22 '18 at 8:36














1












1








1







Using this css you can remove border from right and bottom



            .data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}





@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }
.data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>








share|improve this answer













Using this css you can remove border from right and bottom



            .data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}





@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }
.data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>








@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }
.data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>





@import url('https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');
.data-table { font-size: 15px; line-height: 28px; font-family: Rubik,sans-serif; font-weight: 400; text-align: left; max-width: 1200px; margin: 0 auto; border: 2px solid #ECEEF0; border-radius: 4px; }
.data-table th, .data-table td { padding: 5px; border-bottom: 2px solid #ECEEF0; border-right: 2px solid #ECEEF0; margin: 0; vertical-align: top; }
.data-table tr td:first-child { width: 35%; }
.data-table tr td:nth-child(2n) { width: 15%; }
.data-table tr td:nth-child(3n) { width: 50%; }
.data-table,.data-table th:last-child,.data-table td:last-child{
border-right:0px;}
.data-table,.data-table tr:last-child td{
border-bottom:0px;}

<table class="data-table" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Purposeactivity</th>
<th>Type of data</th>
<th>Lawful basis of proccesing including basis of legimate interest</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum</td>
<td>Lorem Ipsum is simply dummy text of the printing</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum, d) Lorem Ipsum, e) Lorem Ipsum, f) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply dummy, b) Lorem Ipsum is simply dummy</td>
</tr>
<tr>
<td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has</td>
<td>a) Lorem Ipsum, b) Lorem Ipsum, c) Lorem Ipsum</td>
<td>a) Lorem Ipsum is simply printing and typesetting dummy, b) Lorem Ipsum printing and typesetting is simply dummy</td>
</tr>
</tbody>
</table>






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 22 '18 at 8:33









Hiren VaghasiyaHiren Vaghasiya

3,3481519




3,3481519













  • Thanks a lot brother

    – Dharmesh Vekariya
    Nov 22 '18 at 8:35











  • @DharmeshVekariya Welcome Mate

    – Hiren Vaghasiya
    Nov 22 '18 at 8:36



















  • Thanks a lot brother

    – Dharmesh Vekariya
    Nov 22 '18 at 8:35











  • @DharmeshVekariya Welcome Mate

    – Hiren Vaghasiya
    Nov 22 '18 at 8:36

















Thanks a lot brother

– Dharmesh Vekariya
Nov 22 '18 at 8:35





Thanks a lot brother

– Dharmesh Vekariya
Nov 22 '18 at 8:35













@DharmeshVekariya Welcome Mate

– Hiren Vaghasiya
Nov 22 '18 at 8:36





@DharmeshVekariya Welcome Mate

– Hiren Vaghasiya
Nov 22 '18 at 8:36




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426453%2fhow-to-create-a-following-design-table%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

Origin of the phrase “under your belt”?