While working on one of
our widgets, I decided to split up the CSS code into
two separate CSS Stylesheets and include both with their own
<link>-tag. This is common practice on websites and shouldn`t pose any problems.
I thought so.
Then I headed on and tested the layout within
Safari and – what? Everything scrambled.
It turned out that the widget/"webpage" only recognized one stylesheet, whichever came first.
After very much digging and trying and uncommenting code (I did change one of the Stylesheets through JavaScript and first thought that was the cause), it finally worked: I had a
title-attribute in every
link-tag, and although those were different titles, it didn`t work as long as both had a title-attribute. So I removed the title-attributes and everything is fine now.
As a sidenote, even
Gecko-Browsers show this behaviour. I didn`t bother testing other browsers since I`m glad I resolved this issue and can continue to work on interesting stuff. :)
Pascal: It should not have a problem with parentheses, any valid CSV should work. Is the file Ending ".csv"? Can you send me the output of the following Terminal command?
qlmanage -d1 -t file.csv