Update
Thanks Neil
think I'm falling into the php/mysql hole and forgetting the basics of html and css;-)
Of course now you say it it's simple and if I hadn't been concentrating on record sets and everything probably would have workied it out.
thanks
Ian