Saturday, November 15, 2008

CSS tips

1. Once I wanted to make my side bar on z-index:1 and make it float to the right. Then I found it is impossible for the following reason. To make z-index work, I need position:absolute. Having position:absolute will disable floating. Eventually, I used z-index+position:absolute and some manually alignment to make this work.

No comments: