in reply to adding an element in existing file..
Can we see your code so far? Wrapped in <code> tags? Thanks. It's a little hard to understand just what you are doing.