set width to block when create readonly