Some samples of your code and html would probably go a long way towards getting some kind of help with identifying the issue.