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!

Re: problem making div width actually = 100% by Murray

Murray
Wed Nov 17 17:07:16 CST 2004

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.

--
Murray

"meg" <martorellg@hotmail.com> wrote in message
news:etfV$jPzEHA.2716@TK2MSFTNGP14.phx.gbl...
>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!
>
>
>
>
>
>



Re: problem making div width actually = 100% by meg

meg
Wed Nov 17 18:05:58 CST 2004

thank you, it worked!

"Murray" <forums@HAHAgreat-web-sights.com> wrote in message news:O1wUsoPzEHA.1188@tk2msftngp13.phx.gbl...
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.

--
Murray

"meg" <martorellg@hotmail.com> wrote in message
news:etfV$jPzEHA.2716@TK2MSFTNGP14.phx.gbl...
>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!
>
>
>
>
>
>




Re: problem making div width actually = 100% by Murray

Murray
Wed Nov 17 18:30:26 CST 2004

YAHOOO!

--
Murray

"meg" <martorellg@hotmail.com> wrote in message
news:OMZclJQzEHA.1264@TK2MSFTNGP12.phx.gbl...
> thank you, it worked!
>
> "Murray" <forums@HAHAgreat-web-sights.com> wrote in message
> news:O1wUsoPzEHA.1188@tk2msftngp13.phx.gbl...
> 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.
>
> --
> Murray
>
> "meg" <martorellg@hotmail.com> wrote in message
> news:etfV$jPzEHA.2716@TK2MSFTNGP14.phx.gbl...
>>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!
>>
>>
>>
>>
>>
>>
>
>
>