Why is inline styling needed here?