user1094210
user1094210

Reputation: 43

CSS-Confusion: Website has a lot of blank space on right side

Can't seem to figure this out...

This website, http://dannyvola.com, has a lot of blank space on the right side.

I know its something small but I can't figure it out!

Your help is greatly appreciated.

Thank you.

Upvotes: 0

Views: 1379

Answers (1)

Turnip
Turnip

Reputation: 36652

The problem lies with the following css:

#thumbnav {
    list-style: none;
    display: block;
    margin: 4px 0 0 0;
    width: 20000px;  <-- HERE
    padding: 0;
    overflow: visible;
    position: relative;
}

You are giving the element a width of 20000px which is pushing your layout out to the right. A loooong way to the right!

Try changing the width to auto.

Upvotes: 3

Related Questions