View Full Version : How to set z index for web components

11-08-2011, 02:33 PM
Am designing a social website and i need to know to make z index work properly for div components to work with floating components like chat box in website, without inter fearing with other div components in website.

I prefer to use css base methods, please advice...


11-30-2011, 11:30 AM
z-index doesn't work on floats. you can however add a position: relative as well for you css in combination to float: left and then the z-index should kick in.

11-30-2011, 02:32 PM
Do you have a link to your page?