How to make padding? [duplicate]
up vote
0
down vote
favorite
This question already has an answer here:
CSS display: inline vs inline-block [duplicate]
1 answer
What is the difference between display: inline and display: inline-block?
4 answers
I have next HTML:
<div>
<b>Text</b>
<br>next line
</div>
I try to make padding after first line, but neither work:
div > :first-child {
margin-bottom: 0.5em;
}
div > :first-child {
padding-bottom: 0.5em;
}
How to make padding after first line?
html css
marked as duplicate by LGSon
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
0
down vote
favorite
This question already has an answer here:
CSS display: inline vs inline-block [duplicate]
1 answer
What is the difference between display: inline and display: inline-block?
4 answers
I have next HTML:
<div>
<b>Text</b>
<br>next line
</div>
I try to make padding after first line, but neither work:
div > :first-child {
margin-bottom: 0.5em;
}
div > :first-child {
padding-bottom: 0.5em;
}
How to make padding after first line?
html css
marked as duplicate by LGSon
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Make it (the<b>
)display: inline-block
... ordisplay: block
and you can get rid of the<br>
– LGSon
yesterday
@LGSon: Create the answer I will accept it
– Eugen Konkov
yesterday
Linked it instead, as those answers are as good as it gets :)
– LGSon
yesterday
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
CSS display: inline vs inline-block [duplicate]
1 answer
What is the difference between display: inline and display: inline-block?
4 answers
I have next HTML:
<div>
<b>Text</b>
<br>next line
</div>
I try to make padding after first line, but neither work:
div > :first-child {
margin-bottom: 0.5em;
}
div > :first-child {
padding-bottom: 0.5em;
}
How to make padding after first line?
html css
This question already has an answer here:
CSS display: inline vs inline-block [duplicate]
1 answer
What is the difference between display: inline and display: inline-block?
4 answers
I have next HTML:
<div>
<b>Text</b>
<br>next line
</div>
I try to make padding after first line, but neither work:
div > :first-child {
margin-bottom: 0.5em;
}
div > :first-child {
padding-bottom: 0.5em;
}
How to make padding after first line?
This question already has an answer here:
CSS display: inline vs inline-block [duplicate]
1 answer
What is the difference between display: inline and display: inline-block?
4 answers
html css
html css
edited yesterday
Nick Parsons
2,0682518
2,0682518
asked yesterday
Eugen Konkov
5,41833659
5,41833659
marked as duplicate by LGSon
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by LGSon
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Make it (the<b>
)display: inline-block
... ordisplay: block
and you can get rid of the<br>
– LGSon
yesterday
@LGSon: Create the answer I will accept it
– Eugen Konkov
yesterday
Linked it instead, as those answers are as good as it gets :)
– LGSon
yesterday
add a comment |
1
Make it (the<b>
)display: inline-block
... ordisplay: block
and you can get rid of the<br>
– LGSon
yesterday
@LGSon: Create the answer I will accept it
– Eugen Konkov
yesterday
Linked it instead, as those answers are as good as it gets :)
– LGSon
yesterday
1
1
Make it (the
<b>
) display: inline-block
... or display: block
and you can get rid of the <br>
– LGSon
yesterday
Make it (the
<b>
) display: inline-block
... or display: block
and you can get rid of the <br>
– LGSon
yesterday
@LGSon: Create the answer I will accept it
– Eugen Konkov
yesterday
@LGSon: Create the answer I will accept it
– Eugen Konkov
yesterday
Linked it instead, as those answers are as good as it gets :)
– LGSon
yesterday
Linked it instead, as those answers are as good as it gets :)
– LGSon
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
1
Make it (the
<b>
)display: inline-block
... ordisplay: block
and you can get rid of the<br>
– LGSon
yesterday
@LGSon: Create the answer I will accept it
– Eugen Konkov
yesterday
Linked it instead, as those answers are as good as it gets :)
– LGSon
yesterday