0
Ich versuche die Positionierung in der Schaltfläche zu überspannen, kann aber nicht herausfinden, wie es geht. Bitte hilf mir. Defferent-Taste, die stark reagiert.Mehrere Spannen in einer Taste - Span Positionierung
Ich benutze Bootstrap.
Meine Erwartung: enter image description here
Aber Angezeigt: enter image description here
My-Code
.button-row {
height: 200px;
width: 180px;
}
.button-radius {
border-bottom-right-radius: 2em;
-webkit-box-shadow: 0 8px 6px -6px black;
\t -moz-box-shadow: 0 8px 6px -6px black;
\t box-shadow: 0 8px 6px -6px black;
white-space:normal;
word-wrap: break-word;
}
.label-top-left{
position: relative;
left: -60px;
top: -90px;
display: inline-block;
padding:20px;
}
.label-top-right{
position: relative;
left: 60px;
top: 90px;
display: inline-block;
padding:20px;
}
.label-bottom-right{
position: relative;
right: -70px;
top: 36px;
display: inline-block;
}
.label-bottom-left{
position: relative;
left: -60px;
top: 90px;
display: inline-block;
}
.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}
<h3 class="text-warning">My Purchasing</h3>
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12 button-container">
<button type="button" onclick="location.href = 'Purchasing/PurchaseRequisitionRelease.aspx';" class="btn btn-default button-row button-radius">
Approve Purchase Requisition
<span runat="server" id="spnPR" class="label label-warning label-top-right">1 Pending</span>
<span class="glyphicon glyphicon-list-alt gi-2x text-warning label-top-left"></span>
</button>
</div>
<div class="col-md-3 col-sm-6 col-xs-12 button-container">
<button type="button" onclick="location.href = 'Purchasing/PurchaseOrderRelease.aspx';" class="btn btn-default button-row button-radius">
Approve Purchase Order
<span runat="server" id="SpnNoti" class="label label-warning label-bottom-left">2 Notification</span>
<span runat="server" id="spnPO" class="label label-warning label-top-right">5 Pending</span>
<span class="glyphicon glyphicon-send gi-2x text-warning label-top-left"></span>
</button>
</div>
<div class="col-md-3 col-sm-6 col-xs-12 button-container">
<button type="button" class="btn btn-default button-row button-radius" onclick="location.href = 'Purchasing/PurchaseHistory.aspx';">
Purchase History
<span class="glyphicon glyphicon-time gi-2x text-warning label-top-left"></span>
</button>
</div>
</div>
Vielen Dank für Ihre harte Arbeit und alles zeigt in meinem lokalen Computer gut. Aber meine Hosting-Site wird nicht korrekt angezeigt. Bitte helfen Sie mir: http://mobisap.edifice.consulting/ –
In Hosting-Site auch, für mich nur korrekt angezeigt. aber Benachrichtigungen gibt es nicht wegen des dynamischen Inhalts – Mani