Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/blackst/public_html/tutorials/coloredfirstletter.php on line 1
Warning: include(http://black-stripes.net/header.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/blackst/public_html/tutorials/coloredfirstletter.php on line 1
Warning: include() [function.include]: Failed opening 'http://black-stripes.net/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blackst/public_html/tutorials/coloredfirstletter.php on line 1
Colored first letter
It's been trendy lately to have your first letter in the header in a different color. It piffs everthing up a little, and here you'll learn how to do it! Og course, you can use this code to color not only the first letter. And you you don't need to add it in H1.
1. Paste this in your header style code.
h1:first-letter {
color: #000000;
}
2. Now change the color, make it look great with your css. You can also, for example italicize it;
h1:first-letter {
font weight: italic;
}
Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/blackst/public_html/tutorials/coloredfirstletter.php on line 18
Warning: include(http://black-stripes.net/footer.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/blackst/public_html/tutorials/coloredfirstletter.php on line 18
Warning: include() [function.include]: Failed opening 'http://black-stripes.net/footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blackst/public_html/tutorials/coloredfirstletter.php on line 18