troubleshooting Question

Div layer at 100% width leaves right side gap in IE

Avatar of jimstar
jimstar asked on
2 Comments1 Solution526 ViewsLast Modified:
I'm trying to make a header graphic which stretches (tiles actually) all the way across the top of the browser and leaves no gaps. Here's the code so far:


<div style="position: absolute; height: 123px; z-index: 1; left: 0px; top: 0px; width: 100%; background-image: url('header.png'); background-repeat: repeat-x" id="layer1">


The problem is that IE seems to be leaving a small gap on the right hand side of the div layer. How can I make this stretch to 100% of the width? I'm using IE 7.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros