bryndyment
02-02-2004, 08:44 PM
I'm wondering what an elegant CSS solution to positioning a button in the lower-right corner of a float is.
Let's say I have a float-style DIV on my page, and I want to have a "go there" button in the bottom right of the float. I was hoping to be able to "position: relative;" the float, and then have the button set as "position: absolute; bottom: 0px; right: 0px;".
But, "position: relative;" isn't working for my float. Should it? And, are there any suggestions for workarounds?
Let's say I have a float-style DIV on my page, and I want to have a "go there" button in the bottom right of the float. I was hoping to be able to "position: relative;" the float, and then have the button set as "position: absolute; bottom: 0px; right: 0px;".
But, "position: relative;" isn't working for my float. Should it? And, are there any suggestions for workarounds?