position a scrolling text within a table in IE


I'm trying to position a scrolling text within a table.
In Netscape I've used the following syntax which seem's great in any

#divCont{position:relative; top:7; left:7; clip:rect(0,170,100,0);
height:100; width:170}
.clScroll{position:absolute; top:0; font-size:10pt; left:0;
font-family:ariel (hebrew);  visibility:hidden}

you can see the entire source here:

Unfortunately, Internet Explorer doesn't seem to recognize this
"relative" property!
I've tried to using the "absolute" property, but this causes problems
with different resolutions. You can see that in following page:

Please try to run my page:
in both browsers in order to see the problem.
Any suggestions (and especially solutions) would be greatly appreciated.

Thank you in advance,

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aviyyyAuthor Commented:
Adjusted points to 130
You can solve this problem by tricking IE with a third, absolute layer between the two you have now:

#divCont {
    POSITION: relative;
    HEIGHT: 100px;
    WIDTH: 170px;
    TOP: 7px;
    LEFT: 7px;
      CLIP: rect(0,170,100,0);
#divCont2 {
    POSITION: absolute;
    HEIGHT: 100px;
    WIDTH: 170px;
    TOP: 0px;
    LEFT: 0px;
      CLIP: rect(0,170,100,0);
..clScroll {
    POSITION: absolute;
    VISIBILITY: hidden;
      FONT-FAMILY: ariel (hebrew);
    FONT-SIZE: 10pt;
    LEFT: 0px;
    TOP: 0px;


            <DIV id=divCont><DIV id=divCont2>
            <DIV class=clScroll id=divScroll1>
   ... text text text ...

You'll also need to alter one of your JavaScript functions, like so:

function scrollInit(){
      oScroll=new Array()
      oScroll[0]=new      makeScrollObj('divScroll1','divCont.document.divCont2')
The first two changes compensate for IE; the third is necessary to keep Netscape functioning.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.