in reply to Style Sheet Doesn't Display Styles

The bug is not in what you showed us. The problem is elsewhere. Did you place training_site.css in the same directory as the script? Could it be some caching issue?

Replies are listed 'Best First'.
Re^2: Style Sheet Doesn't Display Styles
by JaredHess (Acolyte) on Jul 19, 2006 at 20:31 UTC

    ikegami, thanks for the reply.

    Yes, the script and the .css are in the same directory. The reason I'm thinking it's something to do with Perl or my code is because I created a straight .htm file that pointed to the .css file using the same generated HTML code and it works fine. It displays styles without problems regardless of the length of what's being displayed.

    The .css file is getting called, because, as I stated in my original post, it does sometimes work.