I want to make sure I understand what you mean by float.
Float how? Float can mean float left so the page text wraps around your item to the right, or float right so the text wraps around to the left.
It does not mean, "keep the menu in the same place while the page scrolls"