setting materials width now in css