changed the inline styles to classes and added properties to stylesheet
fixed a bug with the page messing up if reg form is chosen not to be displayed