What doctype are you using?  In XTHML strict or transitional, IE
behaves differently.  The 1/4" scroll is indicative of the horizontal
scrollbar compensating for the presence of the vertical scrollbar.
The scrolling distance is approximately the size of the vertical
scrollbar, right?

On 7/6/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Here is the CSS I use on a DHTML popup div that only scrolls vertically in 
> IE.  It is based on DIV's and DL's not IFRAME's so I do not know if it will 
> help or not.  But the if you look at the width of the basic div (div#defList) 
> is 300px and the width of the dl inside it (div#defList dl) is 268px allowing 
> 32px for the scroll bar.
>
> div#defList
> {
>         width: 300px;
>         height: 200px;
>         position: absolute;
>         top: 50%;
>         left: 50%;
>         margin-top: -75px;
>         margin-left: -150px;
>         padding: 0;
>         border: 2px solid #006;
>         background-color: white;
>         text-align: center;
>
>         z-index:2000;
> }
>
> div#defList h2
> {
>         border: 0;
>         font-size: 100%;
>         position: relative;
> }
>
> div#defList h2 a
> {
>         position: absolute;
>         background-color: #DDD;
>         color: black;
>         top: 0;
>         right: 0;
>         font-size: smaller;
>         padding: .25em;
>         border: 1px solid black;
>         text-decoration: none;
> }
>
> div#defList dl
> {
>         margin: 0;
>         padding: 0 1em;
>         height: 174px;
>         width: 268px;
>         position: absolute;
>         bottom: 0;
>         left: 0;
>         text-align: left;
>         overflow: scroll;
> }
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245552
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to