[thelist] [CSS & DHTML] Showing/Hiding Divs in a Table-less layout

Joshua Olson joshua at waetech.com
Tue Jan 20 12:33:09 CST 2004


----- Original Message ----- 
From: "Jacques Capesius" <jacques_capesius at cnt.com>
Sent: Tuesday, January 20, 2004 1:13 PM


> http://www.capesius.com/notable.html

Jacques,

Here's a couple pointers that you may find helpful:

1.  Absolute position (along with right and top) will not be needed to solve
this issue.  You should be able to do this with nothing more than using the
float attribute.
2.  The CSS property "display" may be very helpful here.  "Visibility"
reserves the area on the page for the element.  Display actually pulls the
element out of the document flow.
3.  Take a look at CSS Child Selectors.  You should be able to use those (as
opposed to explicit classes on embedded divs) to align the elements as you'd
like.  Using these selectors helps reduce the amount of page code as well as
improving debugability.

Best of luck.

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com/service_areas/
706.210.0168




More information about the thelist mailing list