CSS help
CSS help
Out of context: Reply #7
- Started
- Last post
- 8 Responses
- kpl0
few more things:
when I say "set one span tag as", I mean, name that span tag with the id attribute.
second, I tested this setup on my machine and it works...save one thing. when a span is hidden, the space taken up by the span is not released... ie there will be a block of whitespace where that span would had been. so, the effect won't be as you wanted...
you might want to use div's instead of span's. when one is hidden, also change it's position to absolute (and conversely when showing one change the position back to normal). the problem here is you cannot put the link in line...it's its own separate line.
and of course, to make one div/span visible, set it to visible, not hidden.