A town bylaw is not effective until posted notice of it is given. The bylaw is then binding on all town residents and on all others while in the town.