Lil CSS Help
Lil CSS Help
Out of context: Reply #9
- Started
- Last post
- 11 Responses
- 3030
Works for me in FF and Chrome on Mac.
However, the element has position: fixed. At the moment, there are no props for left/top so it looks fine against the red box. Once those are set, black box is positioned relative to the browser window.If you don't like (or can't use) position: fixed you might use some JS plugins (ie jQuery) to the the job for you. You can use window.resize event then to adjust position accordingly.