CSS Issue with border -
new site , new coding whole, wanting learn well.
basically im trying make border grey grey box is, , blue rest of it. i've tried googling struggling find describes im looking for.
the grey area 200px wide , starts 26px in left side of page.
can @ all? in advance
header code here - grey box part of logo image.
<div class="fusion-header" style="height: 91px; overflow: visible;"> <div class="fusion-row"> <div class="fusion-logo" data-margin-top="5px" data-margin-bottom="0px" data-margin-left="0px" data-margin-right="0px">
you can override parent border in logo element, using negative bottom margin size of border.
.header { background: #515151; border: 5px solid #5edbe7; } .logo { width: 200px; height: 50px; margin: 50px auto; background: #5d5d5d; /* override container vorder */ border-bottom: 5px solid #999; margin-bottom: -5px; }
<div class="header"> <div class="logo"></div> </div>
Comments
Post a Comment