Over the last few days I've been making a website for a local bridal shop, I decided to use scriptaculous to get some nice effects, and load content from a .txt file.
I know a .txt seems inferior to mySQL but for the price I'm being paid it made sense, and it isn't too difficult for them to edit the text file and upload it as and when they please.
My problem is that IE is a twat. I have a preload function on the index page that loads in the main images and the first few from the gallery, but IE only loads the images after several attempts, which is fine, I've worked around it. But now I'm noticing that the text loaded from the .txt has no line breaks even though I have function to replace \n with <br/>.
I think it's because I'm pulling the text from the file and adding it straight to an invinvisble div, then using the content of the div to perform the function on (that's just the way scriptaculous pulls info), but FF and Safari both do it right so why does IE hate me, and from the looks of it, everyone else too.
Any suggestions for a work around? Quick replies would be best because I'm meeting the client in about 3 hours. The site is currently hosted here.