HTML - How To Keep Colour Of A Text Editor
I'm trying to display some VB code in my webpage. I can keep the code structure using the pre and code tags. Is there any way I keep the color displayed in the code editor (vbsedit, textpad, ultraedit ... etc) ?
Similar TutorialsHi, I have a search form with the following code:# <!-- Begin FusionBot.com site search engine code--> <FORM NAME=fbsearch METHOD=GET ACTION="http://ss021.fusionbot.com/cgi-bin/ss_query"> <INPUT TYPE=text NAME=keys style="height: 18px; width: 100px; background-color:#1E7CC8;<input size="8" SIZE=10> <INPUT TYPE=hidden NAME=sitenbr VALUE="154309449"> <INPUT TYPE="image" src="http://www.freewebs.com/hanifm/search.gif" name="go" value="go" alt="Click to Search"><BR> </DIV> </FORM> <!-- End FusionBot.com site search engine code --> What I want is, is for the form to be like the login area of this site: http://www.pixel2life.com/ if u look at the top right of that site u can see it has the bit with username. I want that same style of the box with the white text inside and with the same border thickness and colour. These are the colours: Inside of the form (background): #1E7CC8 The Border colour: #64A2D6 The boder thickness has to be small like the one on the sie If anyone could do this it would be much appreciated. Thank You i am trying to build a text editor for my site ive got it so if you click the bold button it adds '[b ]TEXT[ /b]' into the form, but i want is so that if a use sleects some text and click the bold link, it adds [b ] tot he begining and '[ /b]' at the end of the selected text, likein this text editor :p cheers soory if its in wrong section couldnt find a section for javascript Is there a simple way for me to change the colour of text that you put in a text box? I know this is probably really basic stuff .. but i need different colours for the link, rollover and visited state. But i dont want them to be the same throughout the page, i want each to be specific set of colours. Just point me in the direction of where the answer is .. i dont mind reading up! Thanks. i used javascript rich text editor in my code but when i reset form all the fields get reset except text area [javascript rich text editor]. even when i get value from javascript code it doesnt return value............ here is the code //text area <textarea cols="80" rows="10" name="news_description" class="widgEditor nothing">textarea> //reset code function resetTextArea() { document.form_addnews.txt_desc.value = ""; } //get value of text area...it does not work, odnt retyrn any value var cdescription = document.editnews.news_description.value.length; if(cdescription < 0) { alert(document.editnews.news_description.value); alert("Please enter Description"); document.editnews.news_description.focus(); return false; } Hi All, Nice site BTW, my problem is i want to add some text with a background colour behind it but i want the background colour to stretch the full width of the page ? Can anybody help me out Thanks Hey there, I've got a problem with my BG colour on a very simple page. I've uploaded this page he http://www.alastairq.co.uk/s-gaming The Web page looks like it should in FireFox 2 but in IE 6, the colour is completely wrong. Could anyone help me? Thanks, alastairq Hey people, what is considered to be the best HTML editor, Currently I use dreamweaver but I would be happy to spend out a load more cash if there is a better one, I also want to know which editor would be best spending my time learning. I'm using WYSIWYG Editor by openwebware, and really, I think it's sort of dumb. I'm using it to replace the text editor but it's not working, well it works - but it doesn't submit data. I looked through the code and I saw it was only hiding the textarea id, and adding the WYSIWYG Editor where there is a hidden one, but as I stated above, it's not submitting data. Is there any fix for this? I have no access to source files. Can someone recommend me a goo HTML editor? I can drag and drop control. Include syntax checking, ... I have been using Notepad ++ for a while now. Just wondering, maybe their is a better editor? It needs to be able to work with CSS/JS/PHP. Someone recommended to me Bluefish Editor... I don't have time to be trying numerous software, what are other web developers using? I appreciate any input. Hello, newbie here. I have worked, hacked, html files, so I'm familiar with the basics and guts of the files. I know there is software that will allow you to create/build html files. I assume these are called editors or html front end...... whatever. So, 1) what is this software called 2) what do you recommend for basic web pages nothing fancy. So what I'm looking for is something that is easy to use, intuitive, and solid. Any ideas ? Thanks Hi all, I can code html by hand but I am looking some tools or editor which can help me code html faster than hand typing. Any thoughts? I heard dreamweaver is a great tool for coding html. Please feel free to give me any advice. Thanks in advance. Opeth Can anyone point me in the direction of a good but easy to use HTML Editor? I want to be able to have complete control over the HTML, something which my current Host Sitebuilder does not allow. Thanks Hi all Until recently I have used plain text editors to code, but lately I have found that IDEs can be a welcome aid. I don't really need anything super fancy like a full-scale IDE, just syntax highlighting and something that keeps track of indentation so that when I move to a new line I don't need to tab out to the correct indentation. I have used notepad++ on Windows and I really like it, but most of my coding is done in a Linux environment and AFAIK there is no Linux version. Something similar to notepad++ would be awesome. I am looking into an editor called SciTE that is apparently the basis of notepad++ so hopefully that will be the answer. If such a thing exists then perhaps an editor that will help me keep track of the various attributes that each element can have (my experience with HTML/XHTML etc. is limited and I hate having to keep looking up the attributes at my disposable), it would be far easier to have access to some sort of HTML/XHTML/CSS API, or to be able to create one like you can in notepad++, it doesn't necessarily need to be part of the editor so any suggestions on sites that offer this sort of thing would also be much appreciated. Hi everyone, I downloaded notepad++ in order to work with at creating html code. In contradiction to my expectations there are no <html>, <head>, <title>,<body> tags showing up automatically at each new page. Closing tags do not show up each time i create a new tag and there are no properties/values lists for each tag. So, whats the good in notepd ++ ? Why is it considered better then ordinary ms notepad ? Thanks Hi everyone, I downloaded notepad++ in order to work with at creating html code. In contradiction to my expectations there are no <html>, <head>, <title>,<body> tags showing up automatically at each new page. Closing tags do not show up each time i create a new tag and there are no properties/values lists for each tag. So, whats the good in notepd ++ ? Why is it considered better then ordinary ms notepad ? Thanks I am a newbie. I would appreciate if you could help me on this. When I click on the thumbnail a image opens in the new window. I want to open the image in a photoshop directly. Thanks for looking ! Hey guys, I tend to get really annoying lately tabbing between my ftp, browser(s) and editor, is there some sort of real time HTML editor that shows me my changes as i make them? Think firebug plugin on firefox..allows you to edit any pages code and updates it as you type the code. Note; I'm not looking for a Frontpage type editor, i can write code, just annoying tabbing all the time. I'm looking for a HTML/CSS/JavaScript etc. (all of those coding/scripting things that you use notepad for) editor that's a bit more advanced than notepad. It's not too important that it's free, as long as it isn't like.. USD $1000 I'm not looking for a WYSIWYG |