To begin, you need to add a complete <!DOCTYPE> statement to your document to insure that all browsers will render your pages in Standards Compliance Mode - which means they will all try to render the document according to the W3C standards. Search on "doctype switch" and you'll find some good advice.
Second, it looks like you've stripped out too much code for anyone to really be able to help you. In your original code, for example, the <div> is set to a height of 10px, which is too narrow for the browser to display a line of text at any common default size. Is that really the code being used? Post more information and someone will try to help you.