|
Project Information
Featured
Links
|
A PHP + CSS script (javascript-free) that dynamically replaces html text using any custom font. All styles go in the CSS file! Version updated. Now supports any css selector!Installation
Usage ExampleHTML: <h1>My <a href="#">Example</a> Heading</h1> CSS:
h1{
font-family: *MyCustomFont*, Helvetica, Arial, sans;
font-size:20pt;
color:#2F751F;
background-color:#fff;
}
h1 a{
font-family: *AnotherCustomFont*, Times, serif;
color:#2977C7;
text-decoration:underline;
}
h1 a:hover{
color:#eeb43f;
text-decoration:none;
}
DemoThis is the demo included in the download Requires PHP 5.1+ Tested with Firefox 2+, Internet Explorer 6+, Safari 3, Opera 9.5 |