Jump to content

Why does this horizontal scrollbar show up in browser for my website?


Recommended Posts

The site is http://mrmusicdjs.com

 

Note that in Chrome, FireFox and IE, there's an unneeded horizontal scrollbar. There isn't any content to the right, so there shouldn't be. I'm relying on CSS to organize the content.  Here's the relevant CSS code:

 

/* PAGE CONTAINER DIVS - CENTERS CONTENT */
#centering_area {
text-align: center;
width: 100%;
}
#page_area {
width: 872px;
height: 494px;
margin-left: auto;
margin-right: auto;
margin-top: 40px;
text-align: left;
background:url('graphics/canvas.jpg') no-repeat;
}

/* HEADER CONTAINERS */

#logo {
position: relative;
left: 0px;
top: 8px;
height: 155px;
width: 872px;
z-index: 100;
}

#copy {
        line-height: 150%;
        color: #636466;
        position: relative;
left: 310px;
top: 7px;
z-index: 100;
font-family: Arial, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif;
        font-size: 11pt;
}

.blue
{
  color: #6EAFB4;
  font-weight: bold;
  font-family: Arial, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif;
  font-size: 11pt;
}

#bride {
position: relative;
left: 80px;
top: -103px;
height: 332px;
width: 287px;
z-index: 100;
}

#list-left {
        position: relative;
left: 365px;
top: -320px;
z-index: 100;
color: #6EAFB4;
font-family: Arial, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif;
        font-size: 12pt;
        font-weight: bold;
}

#list-right {
        position: relative;
left: 540px;
top: -430px;
z-index: 100;
color: #6EAFB4;
font-family: Arial, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif;
        font-size: 12pt;
        font-weight: bold;
}

#no-worries {
position: relative;
left: 487px;
top: -435px;
height: 80px;
width: 295px;
z-index: 100;
}

#phones {
position: relative;
left: 616px;
top: 298px;
height: 35px;
width: 154px;
z-index: 100;
}

#footer {
text-align: center;
        position: relative;
        left: 0px;
top: -412px;
        z-index: 100;
color: #FFFFFF;
font-family: Arial, Lucida Sans, Lucida Grande, Lucida Sans Unicode, Verdana, sans-serif;
        font-size: 12pt;
}

 

Why is the browser feeling the need to add a horizontal scrollbar? Thanks in advance to those who are willing to help.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.