| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | I have a bunch of 500 KB html pages, each containing over 9,000 links. The link-title words are currently all lower case, but I'd like to have each word Capitalized ('Title Case'). Dreamweaver can't do this automated, so does anyone know which HTML editor (freeware, or fully functioning trial) can? I searched and searched in Google etc. hoping to find a capable HTML editor, but no luck so far. Please have a look at this example http://captaincruiseline.com/example.htm to see what exactly I need done. Thanks in advance, Rob
__________________ ════► US City Names? Get Yours CHEAP! ★ [INSTANT download] |
| |
| | #2 (permalink) |
| NamePros Regular | Judging by your example, this task shoud be pretty straight forward to write in PHP. All you have to do is search for the <a href> and </a> tags, take everyting between them and capitalize the words. . . It would only take about an hour to write and test this script. -Bob
__________________ The mass purge has begun. |
| |
| | #3 (permalink) | |
| Senior Member | Thanks, But unfortunately I don't do PHP, so that's why I asked for software recommendations instead. Also, with such big files, a (browser-based) script may not be able to pull it off. Quote:
__________________ ════► US City Names? Get Yours CHEAP! ★ [INSTANT download] | |
| |
| | #4 (permalink) |
| Senior Member | theres a way to do it in CSS if you don't want to make it permanent. Code: text-transform: uppercase;
__________________ You design in photoshop, I code into valid XHTML/CSS. Professional PSD, PNG or HTML to tableless XHTML/CSS designs. For more info, send me a PM. |
| |
| | #5 (permalink) |
| Senior Member | Thanks, but these are not CSS based html pages, and I am not very familiar with CSS either. ![]() Plus wouldn't what you suggested make the whole line in CAPS, as supposed to just the first letter of each word?
__________________ ════► US City Names? Get Yours CHEAP! ★ [INSTANT download] |
| |
| | #6 (permalink) |
| NamePros Regular | I think what "tm" meant was to put this code in your <head></head> tag: Code: <head>
<style type="text/css">
a:link {
text-transform: capitalize;
}
</style>
</head>
Edit: here's more info - http://www.w3.org/TR/1998/WD-css2-19...html#caps-prop Last edited by Rowan W; 02-04-2006 at 04:57 PM. |
| |
| | #7 (permalink) |
| Senior Member | Code: <head>
<style type="text/css">
a:link {
text-transform: capitalize;
}
</style>
</head>
That works! It was not the way I needed it, but for this purpose it will do just fine. Thanks everyone that posted for helping find a solution. ![]() Rob
__________________ ════► US City Names? Get Yours CHEAP! ★ [INSTANT download] |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hot Links SQL ( Web Directory Script ) License with $24.95 discount | Ferman | Scripts For Sale | 1 | 10-23-2005 12:17 AM |
| google ranking (Tips) | lilgee | Search Engines | 8 | 10-20-2005 02:04 PM |
| Good Article: An SEO Checklist | Ferman | Search Engines | 2 | 05-28-2005 10:51 AM |
| Do You Believe Kerry? | Wesley | The Break Room | 48 | 05-11-2004 10:14 PM |