Handle size attribute