Why does bootstrap table stack DIVs when adding padding Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience Should we burninate the [wrap] tag? The Ask Question Wizard is Live!Remove gutter space for a specific div onlyMissing visible-** and hidden-** in Bootstrap v4bootstrap 4 grid mixed up when using marginbootstrap collapse stacking elementsElements in div overlapping on resize Bootstrapwhy with divs do not stack the div with bootstrap 4How to set mr-1 with bootstrap, spacing two jumbotrons without stacking?Settings width on specific columns on table in Bootstrap 4Bootstrap grid divs next to each otherLeft margin alignment of a container inside a 6 column bootstrap div
How to find all the available tools in macOS terminal?
Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?
Is the Standard Deduction better than Itemized when both are the same amount?
What is a Meta algorithm?
Storing hydrofluoric acid before the invention of plastics
ListPlot join points by nearest neighbor rather than order
What do you call a phrase that's not an idiom yet?
Using et al. for a last / senior author rather than for a first author
How do I stop a creek from eroding my steep embankment?
Did Kevin spill real chili?
Why is black pepper both grey and black?
What do you call a plan that's an alternative plan in case your initial plan fails?
Antler Helmet: Can it work?
Bonus calculation: Am I making a mountain out of a molehill?
Why did the IBM 650 use bi-quinary?
Is the address of a local variable a constexpr?
Why is "Consequences inflicted." not a sentence?
Proof involving the spectral radius and the Jordan canonical form
Can a non-EU citizen traveling with me come with me through the EU passport line?
Right-skewed distribution with mean equals to mode?
If a contract sometimes uses the wrong name, is it still valid?
The logistics of corpse disposal
Why constant symbols in a language?
What is this single-engine low-wing propeller plane?
Why does bootstrap table stack DIVs when adding padding
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
Should we burninate the [wrap] tag?
The Ask Question Wizard is Live!Remove gutter space for a specific div onlyMissing visible-** and hidden-** in Bootstrap v4bootstrap 4 grid mixed up when using marginbootstrap collapse stacking elementsElements in div overlapping on resize Bootstrapwhy with divs do not stack the div with bootstrap 4How to set mr-1 with bootstrap, spacing two jumbotrons without stacking?Settings width on specific columns on table in Bootstrap 4Bootstrap grid divs next to each otherLeft margin alignment of a container inside a 6 column bootstrap div
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
So when reading about controlling the number of columns in a DIV I must ensure the number of columns adds up to 12. In the following example I want two columns so I specify each DIV has having col-6
. This works correctly, but when I add any type of margin such as m-2
, it stacks each DIV on top of each other when there is obviously room on the row.
I'm a newb to bootstrap so can anyone tell what I'm doing wrong? I was expecting two columns with each column having two DIV sections. I just want the equivalent of cell spacing between however many DIV section are listed under the DIV row.
<div class="row">
<div class="col-6 m-2 p-2">
<h4>Div 1</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 2</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 3</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 4</h4>
</div>
</div>
Update: It seems as though you should not specify the number of column you want in the same DIV tag as where you specify the spacing.
<div class="row">
<div class="col-6">
<div class="m-2 p-2"><h4>Div 1</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 2</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 3</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 4</h4></div>
</div>
</div>
bootstrap-4
add a comment |
So when reading about controlling the number of columns in a DIV I must ensure the number of columns adds up to 12. In the following example I want two columns so I specify each DIV has having col-6
. This works correctly, but when I add any type of margin such as m-2
, it stacks each DIV on top of each other when there is obviously room on the row.
I'm a newb to bootstrap so can anyone tell what I'm doing wrong? I was expecting two columns with each column having two DIV sections. I just want the equivalent of cell spacing between however many DIV section are listed under the DIV row.
<div class="row">
<div class="col-6 m-2 p-2">
<h4>Div 1</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 2</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 3</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 4</h4>
</div>
</div>
Update: It seems as though you should not specify the number of column you want in the same DIV tag as where you specify the spacing.
<div class="row">
<div class="col-6">
<div class="m-2 p-2"><h4>Div 1</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 2</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 3</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 4</h4></div>
</div>
</div>
bootstrap-4
add a comment |
So when reading about controlling the number of columns in a DIV I must ensure the number of columns adds up to 12. In the following example I want two columns so I specify each DIV has having col-6
. This works correctly, but when I add any type of margin such as m-2
, it stacks each DIV on top of each other when there is obviously room on the row.
I'm a newb to bootstrap so can anyone tell what I'm doing wrong? I was expecting two columns with each column having two DIV sections. I just want the equivalent of cell spacing between however many DIV section are listed under the DIV row.
<div class="row">
<div class="col-6 m-2 p-2">
<h4>Div 1</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 2</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 3</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 4</h4>
</div>
</div>
Update: It seems as though you should not specify the number of column you want in the same DIV tag as where you specify the spacing.
<div class="row">
<div class="col-6">
<div class="m-2 p-2"><h4>Div 1</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 2</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 3</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 4</h4></div>
</div>
</div>
bootstrap-4
So when reading about controlling the number of columns in a DIV I must ensure the number of columns adds up to 12. In the following example I want two columns so I specify each DIV has having col-6
. This works correctly, but when I add any type of margin such as m-2
, it stacks each DIV on top of each other when there is obviously room on the row.
I'm a newb to bootstrap so can anyone tell what I'm doing wrong? I was expecting two columns with each column having two DIV sections. I just want the equivalent of cell spacing between however many DIV section are listed under the DIV row.
<div class="row">
<div class="col-6 m-2 p-2">
<h4>Div 1</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 2</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 3</h4>
</div>
<div class="col-6 m-2 p-2">
<h4>Div 4</h4>
</div>
</div>
Update: It seems as though you should not specify the number of column you want in the same DIV tag as where you specify the spacing.
<div class="row">
<div class="col-6">
<div class="m-2 p-2"><h4>Div 1</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 2</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 3</h4></div>
</div>
<div class="col-6">
<div class="m-2 p-2"><h4>Div 4</h4></div>
</div>
</div>
bootstrap-4
bootstrap-4
edited Mar 8 at 18:29
Geekn
asked Mar 8 at 15:51
GeeknGeekn
376315
376315
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
col
and row
have margin and padding.
If you add more of them it will break the flow. You should add your margins/paddings into your div
inside the col
, not at the same level of the col
.
Please find attached a short snippet of what i'm trying to explain :
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-6" style="background:green;">
<h2 class="text-center">col A</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:red;">col AA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:yellow;">col AB</div>
</div>
</div>
</div>
<div class="col-6" style="background:blue;">
<h2 class="text-center">col B</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:cyan;">col BA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:orange;">col BB</div>
</div>
</div>
</div>
</div>
</div>
I'm not sure I get what you are saying. If you run your code snippet, DIV 1 and DIV2 have no margin around them (no white spacing between the two DIV tags on same row). DIV 3 and DIV 4 have margins around them but then they stack on top of each other as I describe in the post. I just want two columns with two DIV in each column where each DIV has some margin around it.
– Geekn
Mar 8 at 16:43
True.div 3
&div 4
are just here to let you see the diff. I'll update my snippet for what you're asking for.
– bep42
Mar 8 at 16:44
1
no, you can useoffset
if you want to have a bigger space without adding margins or paddings. Please check the offset doc. You can also adjust the flow with the breakpoints likeoffset-md-1
for example
– bep42
Mar 8 at 16:58
1
As said above, you can useoffset
for the columns. You can also remove the padding of a column withno-gutters
.
– bep42
Mar 8 at 17:01
1
I played with it a bit and I think I see. The padding P-2 cannot be specified in the same div as the COL-6. This is why you had additional tags. Thank you. I've updated the question to reflect this as well.
– Geekn
Mar 8 at 18:27
|
show 9 more comments
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%2f55066679%2fwhy-does-bootstrap-table-stack-divs-when-adding-padding%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
col
and row
have margin and padding.
If you add more of them it will break the flow. You should add your margins/paddings into your div
inside the col
, not at the same level of the col
.
Please find attached a short snippet of what i'm trying to explain :
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-6" style="background:green;">
<h2 class="text-center">col A</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:red;">col AA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:yellow;">col AB</div>
</div>
</div>
</div>
<div class="col-6" style="background:blue;">
<h2 class="text-center">col B</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:cyan;">col BA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:orange;">col BB</div>
</div>
</div>
</div>
</div>
</div>
I'm not sure I get what you are saying. If you run your code snippet, DIV 1 and DIV2 have no margin around them (no white spacing between the two DIV tags on same row). DIV 3 and DIV 4 have margins around them but then they stack on top of each other as I describe in the post. I just want two columns with two DIV in each column where each DIV has some margin around it.
– Geekn
Mar 8 at 16:43
True.div 3
&div 4
are just here to let you see the diff. I'll update my snippet for what you're asking for.
– bep42
Mar 8 at 16:44
1
no, you can useoffset
if you want to have a bigger space without adding margins or paddings. Please check the offset doc. You can also adjust the flow with the breakpoints likeoffset-md-1
for example
– bep42
Mar 8 at 16:58
1
As said above, you can useoffset
for the columns. You can also remove the padding of a column withno-gutters
.
– bep42
Mar 8 at 17:01
1
I played with it a bit and I think I see. The padding P-2 cannot be specified in the same div as the COL-6. This is why you had additional tags. Thank you. I've updated the question to reflect this as well.
– Geekn
Mar 8 at 18:27
|
show 9 more comments
col
and row
have margin and padding.
If you add more of them it will break the flow. You should add your margins/paddings into your div
inside the col
, not at the same level of the col
.
Please find attached a short snippet of what i'm trying to explain :
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-6" style="background:green;">
<h2 class="text-center">col A</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:red;">col AA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:yellow;">col AB</div>
</div>
</div>
</div>
<div class="col-6" style="background:blue;">
<h2 class="text-center">col B</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:cyan;">col BA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:orange;">col BB</div>
</div>
</div>
</div>
</div>
</div>
I'm not sure I get what you are saying. If you run your code snippet, DIV 1 and DIV2 have no margin around them (no white spacing between the two DIV tags on same row). DIV 3 and DIV 4 have margins around them but then they stack on top of each other as I describe in the post. I just want two columns with two DIV in each column where each DIV has some margin around it.
– Geekn
Mar 8 at 16:43
True.div 3
&div 4
are just here to let you see the diff. I'll update my snippet for what you're asking for.
– bep42
Mar 8 at 16:44
1
no, you can useoffset
if you want to have a bigger space without adding margins or paddings. Please check the offset doc. You can also adjust the flow with the breakpoints likeoffset-md-1
for example
– bep42
Mar 8 at 16:58
1
As said above, you can useoffset
for the columns. You can also remove the padding of a column withno-gutters
.
– bep42
Mar 8 at 17:01
1
I played with it a bit and I think I see. The padding P-2 cannot be specified in the same div as the COL-6. This is why you had additional tags. Thank you. I've updated the question to reflect this as well.
– Geekn
Mar 8 at 18:27
|
show 9 more comments
col
and row
have margin and padding.
If you add more of them it will break the flow. You should add your margins/paddings into your div
inside the col
, not at the same level of the col
.
Please find attached a short snippet of what i'm trying to explain :
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-6" style="background:green;">
<h2 class="text-center">col A</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:red;">col AA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:yellow;">col AB</div>
</div>
</div>
</div>
<div class="col-6" style="background:blue;">
<h2 class="text-center">col B</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:cyan;">col BA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:orange;">col BB</div>
</div>
</div>
</div>
</div>
</div>
col
and row
have margin and padding.
If you add more of them it will break the flow. You should add your margins/paddings into your div
inside the col
, not at the same level of the col
.
Please find attached a short snippet of what i'm trying to explain :
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-6" style="background:green;">
<h2 class="text-center">col A</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:red;">col AA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:yellow;">col AB</div>
</div>
</div>
</div>
<div class="col-6" style="background:blue;">
<h2 class="text-center">col B</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:cyan;">col BA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:orange;">col BB</div>
</div>
</div>
</div>
</div>
</div>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-6" style="background:green;">
<h2 class="text-center">col A</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:red;">col AA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:yellow;">col AB</div>
</div>
</div>
</div>
<div class="col-6" style="background:blue;">
<h2 class="text-center">col B</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:cyan;">col BA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:orange;">col BB</div>
</div>
</div>
</div>
</div>
</div>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-6" style="background:green;">
<h2 class="text-center">col A</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:red;">col AA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:yellow;">col AB</div>
</div>
</div>
</div>
<div class="col-6" style="background:blue;">
<h2 class="text-center">col B</h2>
<div class="row">
<div class="col-6">
<div class="m-2 p-2" style="background:cyan;">col BA</div>
</div>
<div class="col-6">
<div class="m-2 p-2" style="background:orange;">col BB</div>
</div>
</div>
</div>
</div>
</div>
edited Mar 8 at 16:51
answered Mar 8 at 16:34
bep42bep42
16913
16913
I'm not sure I get what you are saying. If you run your code snippet, DIV 1 and DIV2 have no margin around them (no white spacing between the two DIV tags on same row). DIV 3 and DIV 4 have margins around them but then they stack on top of each other as I describe in the post. I just want two columns with two DIV in each column where each DIV has some margin around it.
– Geekn
Mar 8 at 16:43
True.div 3
&div 4
are just here to let you see the diff. I'll update my snippet for what you're asking for.
– bep42
Mar 8 at 16:44
1
no, you can useoffset
if you want to have a bigger space without adding margins or paddings. Please check the offset doc. You can also adjust the flow with the breakpoints likeoffset-md-1
for example
– bep42
Mar 8 at 16:58
1
As said above, you can useoffset
for the columns. You can also remove the padding of a column withno-gutters
.
– bep42
Mar 8 at 17:01
1
I played with it a bit and I think I see. The padding P-2 cannot be specified in the same div as the COL-6. This is why you had additional tags. Thank you. I've updated the question to reflect this as well.
– Geekn
Mar 8 at 18:27
|
show 9 more comments
I'm not sure I get what you are saying. If you run your code snippet, DIV 1 and DIV2 have no margin around them (no white spacing between the two DIV tags on same row). DIV 3 and DIV 4 have margins around them but then they stack on top of each other as I describe in the post. I just want two columns with two DIV in each column where each DIV has some margin around it.
– Geekn
Mar 8 at 16:43
True.div 3
&div 4
are just here to let you see the diff. I'll update my snippet for what you're asking for.
– bep42
Mar 8 at 16:44
1
no, you can useoffset
if you want to have a bigger space without adding margins or paddings. Please check the offset doc. You can also adjust the flow with the breakpoints likeoffset-md-1
for example
– bep42
Mar 8 at 16:58
1
As said above, you can useoffset
for the columns. You can also remove the padding of a column withno-gutters
.
– bep42
Mar 8 at 17:01
1
I played with it a bit and I think I see. The padding P-2 cannot be specified in the same div as the COL-6. This is why you had additional tags. Thank you. I've updated the question to reflect this as well.
– Geekn
Mar 8 at 18:27
I'm not sure I get what you are saying. If you run your code snippet, DIV 1 and DIV2 have no margin around them (no white spacing between the two DIV tags on same row). DIV 3 and DIV 4 have margins around them but then they stack on top of each other as I describe in the post. I just want two columns with two DIV in each column where each DIV has some margin around it.
– Geekn
Mar 8 at 16:43
I'm not sure I get what you are saying. If you run your code snippet, DIV 1 and DIV2 have no margin around them (no white spacing between the two DIV tags on same row). DIV 3 and DIV 4 have margins around them but then they stack on top of each other as I describe in the post. I just want two columns with two DIV in each column where each DIV has some margin around it.
– Geekn
Mar 8 at 16:43
True.
div 3
& div 4
are just here to let you see the diff. I'll update my snippet for what you're asking for.– bep42
Mar 8 at 16:44
True.
div 3
& div 4
are just here to let you see the diff. I'll update my snippet for what you're asking for.– bep42
Mar 8 at 16:44
1
1
no, you can use
offset
if you want to have a bigger space without adding margins or paddings. Please check the offset doc. You can also adjust the flow with the breakpoints like offset-md-1
for example– bep42
Mar 8 at 16:58
no, you can use
offset
if you want to have a bigger space without adding margins or paddings. Please check the offset doc. You can also adjust the flow with the breakpoints like offset-md-1
for example– bep42
Mar 8 at 16:58
1
1
As said above, you can use
offset
for the columns. You can also remove the padding of a column with no-gutters
.– bep42
Mar 8 at 17:01
As said above, you can use
offset
for the columns. You can also remove the padding of a column with no-gutters
.– bep42
Mar 8 at 17:01
1
1
I played with it a bit and I think I see. The padding P-2 cannot be specified in the same div as the COL-6. This is why you had additional tags. Thank you. I've updated the question to reflect this as well.
– Geekn
Mar 8 at 18:27
I played with it a bit and I think I see. The padding P-2 cannot be specified in the same div as the COL-6. This is why you had additional tags. Thank you. I've updated the question to reflect this as well.
– Geekn
Mar 8 at 18:27
|
show 9 more comments
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%2f55066679%2fwhy-does-bootstrap-table-stack-divs-when-adding-padding%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