Scott Andrew - lo-fi acoustic pop superhero!

Join the Demo Club to unlock new music, get discounts, tour dates and other neato stuff:

or learn more here.

November 19, 2001

SPAN tags revisited

Did you know that if you give SPAN elements positioning with CSS, NS4.x treats them like layers? If you do something like this:

This is a <span id="mySpan" style="position:relative">test</span>

<script type="text/javascript">
alert("layers: " + document.layers.length);
</script>

…the resulting alert message should read:

layers: 1

Something new (but not necessarily useful) every day.

No Comments

Leave a Comment

Get The Tunes

Download Scott Andrew tracks from iTunes Find Scott Andrew at Spotify Find Scott Andrew at Emusic Find Scott Andrew at Lala Find Scott Andrew at Rhapsody Find Scott Andrew at Amazon Find Scott 
Andrew at CD Baby Find Scott Andrew at Napster

More Options

Reader Comments

New Videos

More Videos

Photos

More Photos at Flickr