replace :before and :after with div tab_before and tab_after