By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,515 Members | 1,157 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,515 IT Pros & Developers. It's quick & easy.

<div> blocks in same position?

P: n/a
Hello,

Sorry for separate posting in both this and the authoring.html group -
my mistake.

I have a series of <divblocks which I want to appear in the same
position on the page, one after the other.

Can I do this with css/javascript?

At the moment one <divblock is visible and the other 3 invisible.
Once the first block has been used I want it to become invisible and
the second block to become visible and take its place on the page.

I can do the visible/invisible bit but the problem at the moment is
that each <divoccupies its own space and successive blocks, when
they are made visible, move along the page.

Cheers

Geoff
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Wed, 16 Apr 2008 07:54:51 +0100, Geoff Cox <gc**@freeuk.notcom>
wrote:
Got my answer from html.authoring group

"There are various ways to do this but one is to switch them between
display:block and display:none rather than between visibility:visible
and visibility:hidden.

If something's display:none then it's as though it weren't there at
all."

Cheers

Geoff
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.