Seems Picklesworth is the only one who understood my post (though that’s probably my own fault). But thanks for the responses everyone
Picklesworth, that’s exactly what I thought, but I thought I’d ask anyway. Problem is, I don’t have a server yet so I can’t implement javascript at the moment.
I’ll try again for those confused though:
Currently, the element has position: fixed. This causes it to be at a fixed position relative to the browser window, both horizontally and vertically. What I want is for it to be fixed relative to the browser vertically, and relative to a parent element (fixed: absolute) horizontally, so it stays in the same place on the page, but always at the bottom of the window.
Doesn’t appear to be possible with only CSS though.
My code is this (in essence) at the moment:
#parent {
position: relative;
}
#fixed {
position: fixed;
bottom: 50px;
}
What I want is something like adding
position: absolute;
left: 50px;
to #fixed, but obviously that doesn’t work.
Edit: I also tried your suicidal fix (workaround), Picklesworth, but it seems that fixed elements with 100% width take up 100% of the browser window, and not the page, because it still doesn’t work :3