opacity:.50; filter: alpha(opacity=50); -moz-opacity: 0.5; For 50% opacity of Element
Monthly Archives: September 2008
CSS vertical align
Understandable code: <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”> <html> <head> <title>Universal vertical center with CSS</title> <style> .greenBorder {border: 1px solid green;} /* just borders to see it */ </style> </head> <body> <div class=”greenBorder” style=”display: table; height: 400px; #position: relative; overflow: hidden;”> <div style=” #position: absolute; #top: 50%;display: table-cell; vertical-align: middle;”> <div class=”greenBorder” style=” #position: relative; …
How to embed a sound file in your web page
To embed a single Midi file, Insert the following HTML code in the <BODY> section of the page: <embed src=”your_midi_file.mid” autostart=”true” hidden=”true” loop=”true“> With a WAV or MP3 file: <embed src=”your_wave_file.wav” autostart=”true” hidden=”true” loop=”true“> or <embed src=”your_mp3_file.mp3” autostart=”true” hidden=”true” loop=”true“> The sound file starts on page load, it’s hidden and repeats. To change this so …
Continue reading “How to embed a sound file in your web page”
PHP base 64 encoder / decoder
Examples Example #1 base64_encode() example The above example will output: VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==
PHP translate Date to Greek Script
[Info] PHP pages are not loaded properly
SYMPTOMS Domain is switched to load PHP as CGI extension. PHP pages cannot be browsed – authorization pages prompts or the following error is displayed: CGI Error. The specified CGI application misbehaved by not returning a complete set of HTTP headers.