Standardized layout and css. Added inline layout option.