Removed flawed css logic