Display label for different screensize

I need to display label for different screen sizes on android. I used below code. When i running on device label displaying 2 times. Is if condition not working?

if(Screen.height >= 1280){
			
GUI.skin.label = style_1;
			GUI.skin.label.padding.top=200;
			
        GUILayout.Label("1. Print the alphabet image targets located at", style_1);
}

if(Screen.height >= 800){
		
		GUI.skin.label = style;
			GUI.skin.label.padding.top=100;
			
        GUILayout.Label("1. Print the alphabet image targets located at", style);
}

In your case it is necessary to use GUI.matrix:

 void OnGUI() {
  //write your GUI elements for one screen resolution, for example, 1280x720
  float scalex = (float)(Screen.width) / 1280.0f;
  float scaley = (float)(Screen.height) / 720.0f
  GUI.matrix = Matrix4x4.TRS(new Vector3(0, 0, 0), Quaternion.identity, new Vector3(scalex, scaley, 1);
  //and, for example, I create label with text
  GUI.Label(new Rect(0, 200, 600, 100), "1. Print the alphabet image targets located at");
 }

I hope it to you will help.