The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › div Shifting Right
Can not figure out why div for the navigation bar at the top is shifted to the right and not center. Here is the link to the page: http://johnstatonjr.com/New%20folder/index.html Also the code:
.navi { background-color:#000; padding:0; min-width:100% } .inside { width:800px; margin:0 auto; padding:0 auto; min-width:800; padding-top:10px; padding-bottom:10px; }
Home Bio Resume Current
lists have a default indent – either padding (Gecko, Webkit) or margin (IE) is used to set it. Simply zero the margin and padding for the ul
.navi ul { margin: 0; padding: 0; }
So simple. Thanks man!