Public Voice Network
- Pic of the Day 7541575415
- Halp! I need a photograph… 4343
- Show some recent work 56065606
- Black People :/ 190190
- Music Video of the Day 22
- Video Games... 993993
- WTF 11
- Beer of the day 133133
- Suggest some new Metal 8484
- PRISM 9090
- Vid of the Day 1529515295
- Retro Dunk Idea 1616
- the gif animation thread 1880318803
- Wordpress Not Showing Up 1212
- iPhone lenses 88
- How to Uninstall McAfee A… 33
- blog 5785357853
- Outlook more like Mac Mai… 11
- NBA Finals 2013 4141
- Official Infographics Thr… 181181
- Mac Pro 9797
- Responsive Web Design &am… 1111
- Portfolio | London Bound 1111
- Ibiza 2013 88
Lil CSS Help 1111 Responses
Last post: 11 months, 2 weeks ago | Thread started: Jul 5, 12, 10:07 a.m.
- ESKEMA
how do I make firefox (and perhaps ie, didn't tested it yet) to perform a position: fixed based on the parent and not the browser? in Safari and Chrome I simply don't input x and y and it locks fixed at the top left corner of its parent. I want to replicate this in firefox and probably others. How do I do this? I want to know!
- Jul 5, 12, 10:07 a.m. – Permalink
- BabySnakes
http://www.w3schools.com/cssref/…
Fixed is to the browser window, you may want to use relative on the parent and absolute on its children.


- Dog-earJul 5, 12, 10:22 a.m. – Permalink
- ESKEMA
I want this in FF...
http://balas.pt/stuff/fixed.html…
- Dog-earJul 5, 12, 10:50 a.m. – Permalink
- 303
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.


- Dog-earJul 5, 12, 11:01 a.m. – Permalink


