Topic: Quick question about postions Pages that link to <a href="https://ozoneasylum.com/backlink?for=10746" title="Pages that link to Topic: Quick question about postions" rel="nofollow" >Topic: Quick question about postions\

 
Author Thread
RypTide
Nervous Wreck (II) Inmate

From: Manassas VA, USA
Insane since: May 2002

IP logged posted posted 06-04-2002 10:45 Edit Quote

is the position of an element relative to the browser window? or to the table it is in?

RypTide

"Music is the vernacular of the human soul" ~ Geoffrey Latham

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 06-04-2002 12:15 Edit Quote

that depends if you set the position to absolute or relative.

style="position:absolute [relative]; top:100px; left:200px; "

but maybe you could be a bit more concrete.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 06-04-2002 19:53 Edit Quote

If you set it's position to absolute, then it should be relative to the lowest element that contains it that *also* has position set to absolute.

At least, that's what the W3C specs say, but not all old browsers do it that way.

RypTide
Nervous Wreck (II) Inmate

From: Manassas VA, USA
Insane since: May 2002

IP logged posted posted 06-05-2002 02:58 Edit Quote

I was just thinking about this while I sit here in Java class, and I think my problem might be this:

<table><tr><td>
<div>Header Div</div>
<div>Body Div</div>
</td></tr>

<tr><td>Something Else</td></tr>
</table>


I'm trying to scroll the body div, and it slips under the table cell below the one these divs are in. probably because i am trying to scroll through 100% of it's parent cell, but can't because there is an element on top of it.

I'll check it out when I get to my home terminal

RypTide

"Music is the vernacular of the human soul" ~ Geoffrey Latham

RypTide
Nervous Wreck (II) Inmate

From: Manassas VA, USA
Insane since: May 2002

IP logged posted posted 06-06-2002 08:08 Edit Quote

Yup, that fixed it.

RypTide

"Music is the vernacular of the human soul" ~ Geoffrey Latham



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu