Thanks again Tyssen.
I added this to my CSS:
Code:
p {text-transform:lowercase;}
p:first-letter { text-transform: uppercase; }
.caps {text-transform:uppercase;}
Which as expected changed the whole of a <p> aragraph into lowercase wth the first letter in uppercase.
Then I ran find and replace to find "." and replace with ". <span class="caps">" which did half the job!
Then rather than go through the thousands of menu lines in the origional flat file and close each span after the first letter, I did find and replace 26 times (once for each possible letter of the alphabet), for example find ". <span class="caps">"A" replace with ". <span class="caps">"A</span>"
This fixed everything but the fact that <span class="caps"> had also been placed after the full stop that finished a paragraph.
Since that was followed with a </p> I then finally found ". <span class="caps">"</p>" and replaced with" .</>"
Done!
Bookmarks