Style changes to the buttons and changed the display property to inline for aligning the code preview image in firefox.