How to create a following design table
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.
@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
add a comment |
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.
@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
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
add a comment |
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.
@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
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.
@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
html css html-table
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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>
Thanks a lot brother
– Dharmesh Vekariya
Nov 22 '18 at 8:35
@DharmeshVekariya Welcome Mate
– Hiren Vaghasiya
Nov 22 '18 at 8:36
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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>
Thanks a lot brother
– Dharmesh Vekariya
Nov 22 '18 at 8:35
@DharmeshVekariya Welcome Mate
– Hiren Vaghasiya
Nov 22 '18 at 8:36
add a comment |
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>
Thanks a lot brother
– Dharmesh Vekariya
Nov 22 '18 at 8:35
@DharmeshVekariya Welcome Mate
– Hiren Vaghasiya
Nov 22 '18 at 8:36
add a comment |
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>
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>
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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