top level elements can now be spans

updated css to allow top level elements to be spans as well as div’s.
updated naming and comments in code