Donald Trump is determined to build a wall on the U.S.-Mexico border, even though a clear majority still oppose the idea.

According to a new Pew Research Center survey, just 36 percent of Americans are in favor of the wall along the border of the United States and Mexico, while 61 percent said they oppose the idea, which Trump has stuck to throughout his entire presidential campaign.

The attitudes about immigration are partisan — 63 percent of Republicans support construction of the wall, compared to 84 percent of Democrats who oppose it.

Support also remains split within demographic lines. Among whites, 54 percent support the wall compared to 43 percent who oppose it. Minorities are much more opposed, as 76 percent of blacks and Hispanics surveyed don't support it.

Supporters of Trump are also far more inclined to support the border wall than those of Democratic nominee Hillary Clinton. Nearly eight in 10 Trump supporters back the wall, and 18 percent said they opposed it. Meanwhile, 88 percent of Democrats said they did not want to see the wall built, and just 10 percent said they would.

The telephone survey was conducted Aug. 9-16, surveying 2,010 adults nationwide with an overall margin of error of plus or minus 2.5 percentage points. The sample includes 831 who identified themselves as Republican or leaning Republican, with a margin of error of plus or minus 3.9 percentage points, and 987 Democrats and leaners with a margin of error of plus or minus 3.6 percentage points.

Among the 680 Clinton supporters surveyed, the margin of error is plus or minus 4.3 percentage points, and for the 581 Trump backers, the margin of error is plus or minus 4.6 percentage points.