DOM

Methods

Coordination of Standards

We could play further with the CSS:

<style type="text/css">
#ourExample
{
display:none
background-color:#ffffcc; color:#000000;
margin:solid thin #000000; padding:.5em;
top:6em;  left:10%;  width:80%; 
position:absolute; 
z-index:1; 
}
</style>

This should make our hidden element appear to float when it is displayed. Let's see . . .

Next >


< Previous

[Page Top]

Introduction to DOM, by Dr Sam
copyright | contact
published by OxfordU.net

[An alternative, straight-text version is also available.]