Custom error pages that are smaller than 10k in size will not display properly in Internet Explorer. Insert a comment to do String comparison, I use 0 and 1 to create the required size. Custom error pages that are smaller than 10k in size will not display properly in Internet Explorer.