Company dress codes run the gamut from requiring workers to wear formal business attire to allowing them to sport jeans and T-shirts. Employers can usually set guidelines for business-appropriate attire, but they may face lawsuits if they get too particular about how women or men should dress.