attach new style before inserting csstext