Do I write
orThe class draws students across majors.
to mean the class attracts many students regardless of majors?The class draws students from across majors.
I think one of the two is correct.
I saw both version in newspapers, so I thought one must be right.
That's a strange inference. You seem to be assuming that if you see two versions of something, one must be right and the other wrong. However, if one newspaper can be wrong, why cannot both be wrong? - This is tedtmc's view.
I don't necessarily agree that your original sentence 2. is wrong, but 1 is.
Or maybe, instead of "one must be right" you meant "one might be right."
If
is not wrong, andThe class draws students from across majors.
is wrong, could it be thatThe class draws students across majors.
is wrong, andFaith can unite people across party lines.
is not wrong?Faith can unite people from across party lines.
It could be, but again it's not a valid inference.
You can unite people across party lines, but you can't draw students across majors.
The verbs 'unite' and 'draw' behave differently, as do the nouns. It's easy to think of lines being crossed, but not majors.
PS: Notice that when you put quotes in a QUOTE box, they will not show when someone quotes your post. I'd advise against it if you want your post to remain intact when quoted.
Changing my examples a little bit, would either of these be wrong?
a) Scientific meetings can unite people across disciplines.
b) Scientific meetings can unite people from across disciplines.