|
Posted by dorayme on 01/16/70 11:32
For quite a long time I have been in the habit of using names I
find meaningful and that stand out to my eye like bear.jpg and
bearBig.jpg in file names and (to take a rare long one)
..centreAllButNotText for class names... These are for very
different things, css classes, ids, html, file names. As long as
I always get the names consistently right I have had no trouble.
But I have had oddities.
I have had servers that just get rid of any capitalisation after
a short while. Sometimes the newly uploaded file with its
capitals is displayed as well as the decapitilised version (from
before) - in my ftp prgm. The new one is treated as a different
file until later. Behind the scenes, the server is clever enough
to assume that when it gets rid of the capitals, it has on its
hand two file names the same and ditches the older one.
Anyway, I know it has been said to keep to lower case for most
of these things to avoid trouble. But if one is consistent, what
trouble has anyone ever experienced? Better look into this stuff
I suppose. I am loath to give up this practice as it greatly
assists the Martian eye...
Be nice to hear people discuss not so much the real coinage of
css (lower case) but any dangers that might lurk even if one
/is/ consistent.
--
dorayme
Navigation:
[Reply to this message]
|