HTML - Question: How To Delete A Whole Line Containing A Phrase
Hi,
I have a long list of html code, and I need to know how to delete every line that contains a particular phrase. I have been using Crimson Editor to edit the code so far, so if there is a way to do this in Crimson Editor that would be easiest for me. Could someone help me? Please? Similar TutorialsHi, I am looking for ..uhhh freeware ... which can find one line of code in several HTML and HTM files and delete this one line. It is one line which occurs just once in every html and htm file .. and comes just before the <body>. I've tried a few and they all end up asking you to purchase. I have the following line in every single html and htm file.. and my webhost demands that I remove this malware (yes I had suffered a trojan horse virus attack earlier) <script src=http://zeta.zilina.net/g35/info.php ></script> Please help !!! I have hundreds of files scattered in several folders.. wya too many to do manually. Delete this please please delete Someone on another forum figured it out for me, thanks, please delete this. Hi! I make an html page in which i display the fields of an array. What i want to do is to place one "checkbox" on each field displayed. And when i hit the "delete" button i want to erase all the selected fields. I have this for example: name | surname | address | age _ --------|--------------- |-----------------|------- |_| John | Kary | Street 25 | 33 |_| Jack | Tony | Street 10 | 21 |_| Jim | Tracks | Street 90 | 25 |_| ..... | ...... | ........ | ..... ____________ |delete selected| -------------------- I just want to give me the mysql query which deletes the selected and the <form>...</form> in which i will put the code above.... Thanks in advance! Hey guys, I've been having some trouble figuring this out for the last couple days. I am trying to add a delete option, and it deletes, BUT prompts an error message. Attribute validation error for tag cfoutput. The value of the attribute query, which is currently dirQuery, is invalid. The error occurred in C:\inetpub\wwwroot\EXAMPLEURL.com\admin\upload.cfm: line 51 49 : <table> 50 : <!---Start the looping query---> 51 : <cfoutput query="dirQuery"> 52 : 53 : <CFIF name IS NOT "upload.cfm"> _________________________ The code i have for this page so far is this: <CFSET SendFileTo = "C:/inetpub/wwwroot/EXAMPLEURL.com/"> <CFPARAM NAME="Action" DEFAULT=""> <title>Admin Panel | Upload</title> <html> <body> <CFIF Action IS ""> <!---Get all the files in the current directory---> <cfdirectory directory="#SendFileTo#" name="dirQuery" action="LIST" FILTER="*.pdf" sort="Name, Type"> <!---Show all the files---> <table> <tr> <td colspan="2" align="center"><img src="../Images/logo.jpg" alt=" Admin" width="333" height="120" /></td> </tr></table>Files must be in .pdf format </CFIF> <CFIF isDefined("form.FileContents")> <cffile action = "upload" fileField = "FileContents" destination = "#SendFileTo#" nameconflict="makeunique"> <P style="color: red;">File has been successfully uploaded.<br /> click the below link to view new content. </P> <a href="upload.cfm"><b>[Click here to update list.] </a></b> </CFIF> <!---If the "Delete" link has been clicked, then remove the file that was passed in the URL string---> <CFIF Action IS "Delete"> <cffile action = "delete" file = "#SendFileTo##FileName#"> <P style="color: red;"><b>File has been successfully removed on the server.</P><b/> <a href="upload.cfm"> <b><h1>[ Click here to go back ].</a></b></h1> </CFIF> <!---Show the upload form---> <br /><form method="post" action=<cfoutput>#cgi.script_name#</cfoutput> name="uploadForm" enctype="multipart/form-data"> <br /> <input name="FileContents" type="file"> <br /> <br /> <input name="submit" type="submit" value="Upload File"> </form> <!---Get all the files in the current directory---> <table> <!---Start the looping query---> <cfoutput query="dirQuery"> <CFIF name IS NOT "upload.cfm"> <tr> <td><a href="#cgi.SCRIPT_NAME#?action=delete&fileName=#name#">[ Delete ]</a></td> <td><A href="http://www.EXAMPLEURL/#name#">[ View/Download ]</a></td> <td>#name#</td> </tr> </CFIF> </cfoutput> </table> <br /><br /> <a href="members_only.cfm">Click here to go back.</a> </body> </html> How do you deleted more than one comment at a time on myspace? I have been using a Glitter Text creator from www.glitterfy.com but the html code includes the company name underneath the text. Is there a way of deleting the company name from the banner? Here's the code I used: HTML Code: <embed src="http://text.glitterfy.com/show.swf?message=Terry%27s%20Site&font=http://text.glitterfy.com/fonts/plainn_lib2.swf&glitter=http://text.glitterfy.com/glitters/glitter6.swf&clickURL=http://www.glitterfy.com/&clickLABEL=Glitterfy.com&bevel=0&shadow=1&glow=1&blur=0&fade=1&blink=0&gb=2&ga=0.6&gi=0&gc=0&bb=2&bc=0&sb=4.5&sa=0.7&si=0&sc=0&blb=7&ls=6&fontsize=55&num=6" quality="best" wmode="transparent" bgcolor="#ffffff" width="527" height="110" name="Glitterfy Text" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed><br /></a> I have managed to delete the email address which was also originally with the script. I know it's supposed to help promote the company, but they do rather spoil your website! I've a table with table header and table body. Each row in the table body has a delete button. On click of the delete button the whole row is made invisible by a javascript function. Now if the last row of the table body is deleted I want the whole table to be made invisible. Could someone please help me in acheiving the following goal. - To check the visibility of each row in table body. (The row is made invisible by setting display = none). I have this div: Code: <div> Last Name <input name="data[Provider][last_name]" type="text" class="input_style" maxlength="100" value="" id="ProviderLastName" /> <input class="submit_style" type="submit" value="Search" /> </div> The way it's being displayed is having the last name string first and then the input and submit (both of them) under that last name string. I would like for all of these values to be on the same line. How can I do that? <p> doesn't work, tried it. Anything I can do in CSS? Just learning this stuff. I am having trouble controlling space between lines. My HTML coding is resulting in too much space between lines. I am afraid I have no idea how to control spacing. I have fiddled with different coding. Here is the current version: <td class="headerbg" colspan="2" width="600"> <div align="left"><p style="font-family:verdana; color:00bfff; font-size:30px;" >the amazing alexander technique </p><p style="font-family:verdana; color:00bfff; font-size:20px;" >so much more than 'posture' and pain relief </p> </div> </td> Thanks for any help. Pointing me to resource where I can read the solution would be great. Forgive me for this rather elementary question...I'm a T-shirt printer and I've learned enough html to build my own website, but I have a lot more to learn about it...Anyway the problem I'm having is when I add an image and want the next paragrah, or headline to display below the image, I've been accomplishing it by adding line breaks until it appears below rather than off to one side. Sometimes I have to add as many as seven or eight <br />'s to achieve my purpose. Is there a better way to make something appear below an image? I am trying to build a page using drupal CMS but I have a problem. Whenn add checkbox, text and submit button together, each of them gets in a different line. It looks like i use <br> although i don't. Adding content with a WYSIWYG editor seems to be working into the editor content area. But when I save it, it appears again in different lines,no matter in which place of the frontpage I add it. So I guess I guess the reason is the style.css file. But I can't find the exact line that damages my code. In pictures below you can see 1)the content correctly presented into WYSIWYG editor 2)The content in frontpage (awful) 3)The simple html i use 1) http://www.teicrete.gr/libsite/files...wyg_editor.JPG 2) http://www.teicrete.gr/libsite/files...page_error.JPG 3) http://www.teicrete.gr/libsite/files/3_simple_html.JPG Any help would be great... Thanks in advance! I'm a complete newbie I have been told to edit a script in html editor on line No. 235. I put the script into an editor and it fills the page as one big paragraph and not in a line format. Is this a common thing Can it be changed? Neil How make all of this on one line? (The div is the element that is not on the line) Thanks! HTML Code: <input type=image value="Click Me!" src="http://sites.google.com/site/sam01110011/Home/face-grin.png" id="butCount" onClick="buttonClicked()"> <input type=image value="Reset" src="http://sites.google.com/site/sam01110011/_/rsrc/1258518796363/Home/face-sad.png" id="butReset" onClick="resetCounter()"> <div id="content_div" style=""></div> Is there an easy way to make a vertical line? For example, some equivalent to <HR> ? Thank you. Hello can anybody help my with html about a vertical line with wat codeyo can make a vertical line for your website in html. Erwin Hi, I am making my own HTML homepage and I would like to have a button/text saying: 'Close', at the top-right. But I don't seem to be able to work out how to have multiple DIVs on one line. I have tried floating but it doesn't seem to work. By the way, I am editing with SuperEdi. hi some help please i want to have 2 styles on one line, first text should be bold second text should be normal the following is from my template file: <div class='header'>BOLD TEXT <a href="user_fof.php" > normal text</a> </div> this stays in the same line but both are bold, i have tried adding a class="normaltextstyle" but the color changes but it still stays bold please assist, |