updated css to set type only for diff contents