Anchoring a Button to the bottom of my page (without a footer)

Hey guys and gals,

I'm trying to anchor the "Submit" button to the bottom of my log-in page, but can't figure out how. I've tried a couple of things, including naming the button loginButton, and adding this CSS:

#loginButton {
position:fixed;
margin-left:0;
margin-right:0;
left:0px;
bottom:5px;
height:auto;
width:100%;
}

I've also tried adding the button to the class botButton, and added this css:

div.botButton {
position:fixed;
margin-left:0;
margin-right:0;
left:0px;
bottom:5px;
height:auto;
width:100%;
}

Neither approach works. Does anyone know of a correction I need to make to my code or to this approach?
It would be greatly appreciated.

1 person has
this question
+1
This topic is no longer open for comments or replies.