css logic for binary options in edit