Thu, 2017-12-14 23:22
Hello
I have a Web page here: www.dimadayoub.net/frina/Contact.aspx
The 'Send' button is glued to the bottom of the form despite my
tags.
My button CSS code looks like this:
.astext:active { background:none; border:none; color:navy; font:Candara, Segoe, Serif; font-weight:400; margin-left:105px; margin-top:20px; padding:20px; position:relative; }
Thanks for any help.
Fri, 2017-12-15 22:15
#1
You have the p elements set
You have the p elements set to {margin: 0;}. Give the p an id and set a top margin. Alternatively, set input#SendMail {display: block; margin-top: 2em;} for example.
Input elements are inline by default. Margins do not apply to inline elements.
gary
Fri, 2017-12-15 22:33
#2
Brilliant Gary, thank you.
Brilliant Gary, thank you.