legislate against (something)
To ban, prohibit, or forbid something through legislation. As it stands, over 20 states still legislate against recreational marijuana, despite the federal government lifting its own ban earlier this year. I just don't think the government should legislate against things like cheap junk food.
legislate against something
to prohibit something; to pass a law against something. You can't just legislate against something. You have to explain to people why they shouldn't do it. The Congress has just legislated against insolvent banks.