The present paper studies the formation and characteristics of dust-ion-acoustic solitary waves of small amplitude in a multi-component warm magnetized plasma having inertial positive and negative ions together with negatively charged static dusts under the influences of inertial elections, considering a three-dimensional fluid dynamical model with the Poisson equation. We consider a uniform external magnetic field along the z-direction, and the wave propagation occurs obliquely to the direction of the magnetic field. Precisely, the reductive perturbation method is applied to derive the Korteweg-de Vries equations and obtained the solitary wave solution to investigate the variations in wave nature caused by different physical parameters. This theoretical study shows the coexistence of compressive and rarefactive dust-ion-acoustic solitons in the plasma. Depending on Q (=negative-to-positive ion mass ratio) and various ion temperatures, compressive solitons for \(Q<1\) and rarefactive solitons for \(Q>1\) are shown to exist. Additionally, the domination of different physical parameters of our plasma on the propagation of oblique dust-ion-acoustic solitary waves is numerically analyzed within the paper. The present study might be helpful for better understanding the propagation of nonlinear electrostatic waves in laboratory and space plasma environments.