|
Whether you want to call them layers or divs, give them each a name. Seriously, it will make things so much easier for you. I'm having a hard time figuring out what's going on in your code; that must be a pain to work with? They don't have to be good names, swf and textUnderSwf.
If the first div goes on the top, and the next one below it, or basically the elements aren't covering each other, you don't need to assign them a z-index. That only comes into play when two elements could cover each other.
Set visibility: visible; at the html level. That will make it like a default, so you don't have to repeat it in all of your rules.
|