WordPress.org

Ready to get started?Download WordPress

Forums

width 100% problem (3 posts)

  1. pacovix
    Member
    Posted 1 year ago #

    Hi. When i try to make div with width=100% i get this space on the ends (see screenshot).

    http://i50.tinypic.com/2m4t0zd.jpg

    this obv. isnt 100% width, what could be the problem? Thanks in advance

  2. pacovix
    Member
    Posted 1 year ago #

    this is css of div

    #htop{
    width:100%;
    background:#000;
    }
    #htopcont{
    width:960px;
    height:70px;
    margin:0 auto;
    }

  3. Eric Hoanshelt
    Member
    Posted 1 year ago #

    This spacing looks like padding. Check your theme to see if the html or body tags have any padding. This is normally used for responsive design.

Topic Closed

This topic has been closed to new replies.

About this Topic