rendering styling for both types of iframe