Posts

Showing posts with the label css

How to Remove HTML Tags from WordPress 3.x Comment Box

This tutorial is going to guide you how to get rid of the html code under the message box in the WordPress twenty ten’s comment template. First a warning, do not edit or delete the code from WordPress 3.x core files, instead hide it with CSS code. Using CSS has the advantage of not requiring core file modifications (always a bad idea). Put simply, you need to add the following line of code to the your Theme style sheet. .form-allowed-tags { display:none; } So, using the   WP Twenty ten   theme as an example, here are the steps: 1. Login to your WordPress dashboard 2. Go to Appearance/Editor. 3. Open the stylesheet file, style.css. It will be listed at the bottom of the right-hand column. 4. Go to the end of the style.css style sheet and enter the code on a new line: .form-allowed-tags { display:none; } 5. Save the file (Update File button) and you’re done. 6. And that’s all there is too it. If you now inspect your comment box the offending HTML Tags will have gone.

4 methods to remove the blue border image link, using CSS

First of all that blue border is coming from the color of your links, so it can be any color. To remove that border from the images which have a link you’ll have to add to your style one of the following four lines, each one doing practically the same thing. Is not necessarily to style img a . It’s OK to style only the img and will apply that style to all images from that page/website, no matter if that pictures are carrying a link or not. If you want to apply the style only on a preferred page you will have to add the style into the header of that page only. Add one of the following line to your css file and it will remove that annoying blue border image link: img { border : none } img { border : 0px } img { border : 0 } img { border : solid 0 } While some of these methods will work, other will not. I recommend using of: img {border: none} , which works well in all known web browsers. Many html-shrinker programs (programs which strip out superfluous white space and unn...

customized (sorting and searching method) index file in XAMPP or WAMPP

How to Install:- @-> Backup your index file in htdocs(if use XAMPP) (or) www (if use WAMPP). @--> Then copy the index file and two folders in root table. @--> And enjoy the sorting that look very nice. index.php  --> Save in root folder <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"   " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> <html xmlns=" http://www.w3.org/1999/xhtml " xml:lang="en" lang="en"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Siva Project Demos</title> <link rel="stylesheet" href="./css/style.css" type="text/css" media="screen" charset="utf-8"> <script src=" http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js " type="text/javascript" charset="utf-8"></script> <script src="./js/appli...