Hi thanks for getting back so quickly. Now resolved. Deleted the old pages and tried the same codes on a new page, think wordpress was getting its self in a mix. Probably caching from installing other plugins etc.
Sorry for wasting your time.
Cheers matt