The Offside Rule and Offside Trap in Football(Soccer) It is not an offence in itself to be in an offside position. A player is in an offside position if: he is nearer to his opponents' goal line than both the ball and the second last opponent.
http://www.offside-ref.co.uk/laws/11-offside-rule/detailed/