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 on “SPAN tags revisited”

Leave a Comment

Close
  • E-mail
  • Social Web

Email this page to a friend:

E-mail It

Buy Music

Download Scott Andrew tracks from iTunes Find Scott Andrew at Rhapsody Find Scott Andrew at Amazon Find Scott 
Andrew at CD Baby

New Videos

More Videos

Photos

More Photos at Flickr

Recent Reader Comments

  • dp: "Think of it as a single with bonus tracks. BOOM, ...
  • Dave: $1 for the bonus tracks? BOOM! I'm there.
  • Shelby: you're a phenomenal artist. definitely going on th...
  • Steve Rydz: Great song Scott, good to hear something new. Kee...
  • Volker: Really good song! I am curious about the bonus ver...