Move inline style to head in front layout