Reputation: 204
So I've just finished developing this design just for practice. And everything is just like I wanted except for the fact that SOMETHING is larger than screen size. I've inspected the page inside the browser, checked all margins and widths, but can't seem to find what's causing it.
I have a .container div that's 1280px wide with auto margins, so it'd always be centered and everything is inside it. And that container is inside the <body>
.
Here's the link to my zipped project. It's only a few KBs. Just one page. http://files.fm/u/aguxkzq
Upvotes: 1
Views: 1042
Reputation: 5196
The position style attribute of .laptop h1
is causing the problem.
.laptopimage
and the next h1
need to be position: absolute
because they need to be positioned in relation to its wrapper which is position:relative
.
You'll need to refactor this section.
Upvotes: 3