Anna takes a rectangular piece of fabric and makes a diagonal from one corner to the opposite corner. The diagonal cut is 26 inches and the length is 24 inches. What is the width of the rectangular piece of fabric, rounded to the nearest tenth if necessary?