I'm working on an application that's going to utilize a very simple implementation of ajax to update content using static HTML pages. The problem I am running into is that the css styles I'm trying to use in these pages isn't being applied with the ajax script updates the main page if the style is stored in an external css file.

If I include the style directly into a tag like <p style="color: red;"> then it is working file. But if I try to access an external css tag like <p class="style"> then it doesn't work.

Since I'm really new to ajax I can't seem to find a way to have the updated content recognize the css styles. Any ideas?