
February 5th, 2001, 09:46 PM
|
|
Senior Citizen
|
|
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019
Time spent in forums: < 1 sec
Reputation Power: 15
|
|
|
Almost. You left this out:
<div ID="mydivid" style="position:relative;">
Without the position: attribute, Nav4 won't create a Layer object, the only element you can set visibility on.
Alternatively, use position:absolute. This may be in a style id, class, or inline as shown.
Absolute positioning uses the next outermost positioned element (Layer in Nav4) for its 0,0 point (it may be the document itself); relative positioning offsets the Layer from its normal position in the flow of the document. Nested elements position relative to the positions of their parent element.
Confused?
http://www.webreference.com/html/tutorial18/
|