Add a php file with filename imageheader.php And Final <div id=”main_header” style=”background-image:url(imagesheader.php);”></div>
Category Archives: Programming
CSS set link Styles
#CSS ,#CSS a:hover, #CSS a:link,#CSS a:roll, #CSS a:visited{ font-size:12px; background-color: #FF0000; color: #FFFFFF; padding:5px; margin:2px; font-weight:normal } #supertitle{ margin:10px; font-size:15px } #supertitle a:visited, #supertitle a:Hover, #supertitle a:link, #supertitle A:visited { margin:10px; font-size:15px }
Css include external files
On main style add this code! @import url(**.css); @import url(***.css); @import url(****.css); ** CSS Filename
Print DIV
<script> function go() { var a = window.open(”,”,’width=300,height=300′); a.document.open(“text/html”); a.document.write(document.getElementById(‘foo’).innerHTML); a.document.close(); a.print(); } </script> <div id=”foo”>This is a test</div> <input type=”button” onclick=”go()” value=”Print this Page”>
Detect web plug-ins Flash, Media PLayer and more…
Cut & Paste Detect Plugin (Flash, Java, RealPlayer etc) script Credit: Frederic Description: Frederic’s versatile plugin detector can be used to detect most of the important browser plugins. They include: – Flash – Windows Media Player – Java – Shockwave – RealPlayer – QuickTime – Acrobat Reader – SVG Viewer Working in both IE and …
Continue reading “Detect web plug-ins Flash, Media PLayer and more…”
PHP Set Variable With Do While Loop
The .= connect the Data