html

Ways to remove the autocomplete of an input box

Hi I need a text input field which does not use the autocomplete function - If a user has submitted the form before, his previous submissions should -not- appear as he types into the form again, even if he is typing the same thing again. As far as I can tell, there are a few ways to do this: 1. <form autocomplete="off"> However, I beli...

Java wysiwyg HTML Editor

Hello, I'm working on a project and need a simple free java HTML wysiwyg editor can anyone point me in the right direction?. It only has a small space to fit into, so something fairly simple would be best. Thanks for the help! ...

sprite problem with image link

how to use sprite with image links. when i try to use as below link lost <a target="_blank" rel="nofollow" title="link1" href="http://www.yahoo.com"&gt; <div id="yahoo1" class="logosprite"></div> </a> css: #yahoo1.logosprite { background-position:0 0; height:16px; width:16px; } can anyone suggest better solution ? ...

Left Aligned CSS Drop-downs

I have a website with your usual 2 level navigation in the form of a dropdown using Suckerfish and the <ul><li> construct to create the menu. The problem is the menu is right aligned on the page, thus I'll need to make the dropdowns push out to the left, as shown, to keep them within the page: If the top level menu tabs were the same...

How to prevent line-break in a column of a table cell, not a single cell ?

How to prevent line-break in a column of table, not a single cell? ...

single html page - html charts -

I need html - java script / jquery charts using single file. What do I need is as follows? Above links are just for creating bar charts I need to create line chart as well as pie charts & other charts. I don't have knowledge regarding java scripts jQuery. Inshort - I need the reports within single file. ( that is - no extra .css file ...

mini Rich Text editor

ok, so i made a mini Rich text editor and if i want to insert a link i insert into the textarea the html like this: <a href=http://google.com&gt;go to google</a>, it works just fine but when i reopen that text for editing i don't get the complete html tag...all i get is go to google without <a href=http://google.com&amp;gt; and </a>. i h...

Drop-down with CSS

I got a reallly simple drop-down menu but got a problem with the submenus width. See it here: http://dl.dropbox.com/u/70953/SOSfrontpage.html My HTML is: <div id="navigation"> <div id="menu-dropdown"> <ul class="menu"> <li class="menu_punkt"><a href="http://itu.dk/people/lfel/Web-kodning/SOSfrontpage.html"&gt;Frontpage&lt;/a&...

Is there anything wrong with this Google App Engine url-fetching code that I have here?

When I view the source of the page in my browser (FireFox) (View->Page Source), copy it and paste it into my HTML editor, I view almost the same page (In this example it is www.google.com) as it appears in my browser. But when I get the HTML source through this code (through Googles App Engines) from google.appengine.api import urlfetch...

in what conditions we can use css * selector?

in what conditions we can use css * selector? how much * selector is useful? is it only to make css reset or hack * { margin: 0; padding: 0; } or it has other valid useful uses? is there a ways to use * selector to optimize css using * selector? Is it supported in all browsers? ...

Can you embed python scripts into the web browser?

I'm trying to see how I can get a python script to run in the web browser. Does anyone know if this is possible or would I need to make a plugin? I'm looking for something that would work like: <embed type="application/x-python" src="myscript.py"></embed> Thanks, Joe ...

xml and html escaping special characters

i store my article in a xml file, so if i write into it special characters "' xml automatically escapes this characters and when i get(via PHP) the xml content i get something like \". so if i write into xml "hello dude" my html will look like this \"hello dude\" how can i get the xml content like it was initially inserted("hello dude")...

Best way to add missing <p> tags to text in HTML while disregarding other tags?

I'm currently writing a function for parsing some HTML and adding tags where necessary. Basically i have a piece of HTML like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse feugiat, nunc at vestibulum egestas. <script type="c"> #include &lt;stdio.h&gt; #define debug(var) printf(#var &quot; = %d\n&qu...

Django: allow line break from textarea input.

How do i allow line breaking in textarea input in django to later show this input on page? ...

Regex HTML Extraction C#

I have searched and searched about Regex but I can't seem to find something that will allow me to do this. I need to get the 12.32, 2,300, 4.644 M and 12,444.12 from the following strings in C#: <td class="c-ob-j1a" property="c-value">12.32</td> <td class="c-ob-j1a" property="c-value">2,300</td> <td class="c-ob-j1a" property="c-value">...

change background color of current element

Hello, how can I change the background color of current element using plain javascript? for instance <li onmouseover="this.backgroundColor:#000;">something</li> This doesn't work, but you will get the idea what I want to do. Thank you ...

Reg Exp To Remove 'onclick' from HTML elements (Notepad++)

Hi, I have a big html file (87000+ lines) and want to delete all occurrences of onclick from all elements. Two examples of what I want to catch are: 1. onclick="fnSelectNode('name2',2, true);" 2. onclick="fnExpandNode('img3','node3','/include/format_DB.asp?Index2=3');" The problem is that both function names and parameters passed to...

How to open a new window with target='_blank' ? My code doesn't work.

$html=<<<html <tr><td>$i.<a href="offtask.php?taskid=$taskid target='_blank' ">$title</a></td><td>$count</td><td class="nowrap">$locationtext</td></tr> html; echo $html; How to open a new window in the code above? target='_blank' doesn't work. ...

Alert Bar on Top of HTML Page?

What is the best way to create an alert bar with css but without javascript on the top of the page, like the one StackOverflow has for saying "Stack Overflow works best with JavaScript enabled"? I've heard this is bad for SEO as it's duplicate content on every page. How do I prevent that? ...

treeview checkbox menus

well, I am trying to write parallel checkbox menus in html, but somehow my logic is not helping. May be some of you experts can just help me a bit. This is how I want my menus to look [] Menu 1 [] Menu 2 [] Item 1 [] Item 5 [] Item 2 [] Item 4 Item 1, 2 are under Menu 1 and 5...