Category: HTML

  • CSS: Opacity in all browsers

    Today’s market is based on 3D and most things are doing by jQuery or Javascript to make fast loading application. Opacity is a part of CSS to make transparent image without PNG format. To set the opacity property to an image you can use: .img_transparent_class{ opacity: 0.5; } But this line will suitable for some…

  • PHP does not generating output as html

    In many cases we add content in the database with replacing all html tags into special characters. But it generate problems when we want to show at front side. So here we are giving a best solution to show result as HTML: function __htmlConvertor($str) { $string = str_replace(array(“<“, “>”, ‘&’, ”’, ‘”‘,'<‘, ‘>’), array(“<“, “>”,’&’,’\”,'”‘,'<‘,’>’),…