Cross Browser Opacity Hack
Below snippets will set the opacity of the elements and its children. selector { // IE 8 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; // IE 5-7 filter: alpha(opacity=50); //
Below snippets will set the opacity of the elements and its children. selector { // IE 8 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; // IE 5-7 filter: alpha(opacity=50); //
When the size of web page increases, it’s better to have a button to scroll to the top of the page with a single click.
Source from : http://php.net/manual/en/function.get-browser.php I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we
Function 1 : array_rand Get a random variable in an array. $sites = array ("google.com","Bing", "yahoo.com", "php.net", "apple.com"); $k = array_rand($sites); echo $sites[$k]; Function 2:
Forcing visitors to use SSL can be accomplished through your .htaccess file using mod_rewrite module. we have to force browsers to use secure connection only
Below is the simple PHP function to check for valid email address. function is_valid_email($email) { if(preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0) return true; else return false; }
Below is the list of safe fonts for websites font-family: Arial, Helvetica, sans-serif; font-family: 'Arial Black', Gadget, sans-serif; font-family: 'Bookman Old Style', serif; font-family: 'Comic