CSS fixes
Big code fix (for firefox) and refactor
Removed trailing blank line