18349/vertically-centering-text-in-a-div
I'm trying to vertically center the text inside the 4 divs with sat, bit, mBTC, and BTC in them. I tried doing
display:table-cell; vertical-align:middle;
But it does not work. Any idea how I can do this?
Try this code:
.smallUnitBox { background-color: #29b8ff; border-right: 2px solid #2098d4; float: left; height: 36px; width: 96px; line-height: 36px; color: white; font-size: 28px; font-family: sans-serif; border-bottom: 1px solid #2098d4; } <div class="unitBox"> <div class="smallUnitBox">sat</div> <div class="smallUnitBox">bit</div> <div class="smallUnitBox">mBTC</div> <div class="smallUnitBox">BTC</div> </div>
Don't forget to remove as it's not needed:
In a private ethereum network you have ...READ MORE
By default, the docs are at your ...READ MORE
This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE
Is your transaction actually called 'OrderPlaced' (in ...READ MORE
yes all are over TCP/IP connections secured ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
window.onload=function(){ var anima = document.getElementById("crypto"); var ret = document.getElementById("btn"); ret.addEventListener("click",function(){ var ...READ MORE
{ "nonce": "0x0000000000000042", "difficulty": "0x000000100", "alloc": { }, "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000", "timestamp": "0x00", "parentHash": ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.