line wont display on top of background color(css problem) -
line wont display on top of background color(css problem) -
setting line won't appear on top of background color,what seems problem?thank you.i have code
<div class="setting-wrapper"> <div class="setting-line"></div </div>
css
.setting-wrapper{ background-color:#e2e9e9; position: absolute; left:450px; top:20px; border:1px solid #dedede; display:block; width:500px; height:400px; -moz-border-radius:5px; -webkit-border-radius: 5px; border-radius:5px; } .setting-line{ margin-top:5px; margin-bottom:5px; width:500px; border-top:solid #e6e6e6 1px; }
if <div class="setting-line"></div
isn't copy/paste typo, theres missing bracket @ end of closing div
.
but maybe it's hard see difference between #e2e9e9
, #e6e6e6
(depending on systems color-depth and/or screen capabilities).
css
Comments
Post a Comment