w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Absolutely positioned element with width 100% overflowing relative width parent

Don't use width: 100% for that. The following code does the work.

jsFiddle Demo

.line { 
    position: absolute;
    bottom: 0;
    height: 22px;
    left: 15px;
    right: 15px;    
}




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.