Hi, i am on page 308 of Beginning ASP.NET 4 by Imar Spaanjaars. On the page in question there is a submit button for the contact form. I was trying to familiarise myself further with CSS by positioning the button center or right using CSS as below,
Code:
#centerButton
{
position: "trying to set position here";
}
The selector type used above is the ID selector (#) which I thought would allow me to address the Button element directly via CSS, but I can't get it to work? Please note that the only values for positioning a button are Inherit, Absolute, Fixed, Relative and Static.
This started of as a general query, nothing important to get hung up on, but now I am really curious to find out why cannot apply CSS to this element.
Mark