In my div, I have a combination of icons and text. I'm trying to center only the text within the div, with two icons on the left and 4 to 5 icons on the right. Although I managed to position the icons correctly, I am having trouble aligning the text perfectly in the center of the div. I initially used padding as a temporary fix, but it doesn't provide consistent results across different resolutions.
Could someone please assist me in resolving this issue? I have attached an image showing that the text is not exactly centered in the div. I want the text to be precisely in the middle and maintain accurate alignment regardless of the resolution.