Previous Message
Next Message

Simple Question

Sent by Mark Weiss on 14 April 2008 05:05


Hi, I have been lurking on the list for some time and learning a lot.

I have a simple need, which is to stack three divs on top of one  
another and as you click in the top one, have it go away and reveal  
the last two. Then when you click on that revealed div, have it also  
disappear and reveal the third. This is for an educational project.

I have have a few questions that I imagine are simple.

1) Can a DIV by itself accept an onclick event? Or do you have to  
have text or an image tied to an HREF within the DIV to make that  
happen?

2) In making a vertical grid of DIVS,  is using absolute positioning  
proper way to set them up?

Thanks for any help you can offer a new guy.

Mark Weiss


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: