No replies
millers's picture
Last seen: 1 year 46 weeks ago
Timezone: GMT+1
Joined: 2004-11-22
Posts: 70
Points: 41

I am building a template for a wordpress website, there is some padding and margin-left that is causing a horizontal scrollbar.

Here's the test site

I narrowed the issue down to this line of the css

#navigation ul li {float: left; margin-left: 2px; padding: 3px 8px; background-color: #445d6c; border: 1px solid #445d6c;}

removing the margin-left: 2px; padding: 3px 8px; portion removes the scrollbar. I have been looking at this for so long now, can anyone see what I can do to keep the layout looking the same but removing the scrollbar?