problem making div width actually = 100%

M

meg

I have an asp page similar to the below:

<body>
<div style="position:absolute;top:0px;left:0px;filter:...gradient...;width:100%;margin-right:0px;>
stuff here
</div>
</body>

I want the div to stretch all the way across the browser window, and I don't want to see background color to
the right of it but I do
.... it looks like i have the margin-right set to 25px when I don't.

Any ideas?

Thanks!
 
M

Murray

Yep - that's IE for you. Look at it in FF or Moz. IE reserves space for a
scrollbar until you kick it in the head. Try making the width 100.1% and
see what happens.
 
M

meg

thank you, it worked!

Yep - that's IE for you. Look at it in FF or Moz. IE reserves space for a
scrollbar until you kick it in the head. Try making the width 100.1% and
see what happens.
 
M

Murray

YAHOOO!

--
Murray

meg said:
thank you, it worked!

Yep - that's IE for you. Look at it in FF or Moz. IE reserves space for
a
scrollbar until you kick it in the head. Try making the width 100.1% and
see what happens.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top