html

What is the purpose of onclick event for noscript tag?

After reading http://www.w3schools.com/tags/tag_noscript.asp confused about onclick event on noscript tag. Anybody knows the purpose? If there is no purpose, why the hell they keep it? Thanks for any answers in advance. ...

Compatibility between Browsers in ASPNET

I'm using HTML Editor in my website. It is not visible in IE8 and Google Chrome. Any other Free html editor link is there which will support all the browsers?. ( Moreover, after clicking the HTML Editor, ajax is not working for me in that page. ) I need any other HTML Editor which will support all kind of browser especially Google Chro...

light-weight renderer html with css in python

Sorry, perhaps I haven't described the problem well first time. All your answers are interesting, but most of them are almost full-featured web browsers, my task is much simpler. I'm planning to write a GUI application using one of the available on linux GUI frameworks (I haven't yet chosen one). I shall use html in my application to re...

HTML/JSP visual design mode

Hi, I'm wondering that the sun netbeans IDE can support visual design editor for html or jsp (no problem for JSF) or not? RGDS Navid ...

Should HTTP 304 Not Modified-responses contain cache-control headers ?

Hi. I've tried to understand this, and searched SO for similar questions, but I still don't have a 100% understanding on how this is supposed to work. I get this response on a request for an image resource: Response Headers Server Apache-Coyote/1.1 Date Mon, 19 Oct 2009 09:04:04 GMT Expires Mon, 19 Oct 2009 09:06:05 G...

Accessing the <img> tag data

I want to access the tag data so that I can send this image to the server (database) after manipulation using Javascript image processing libraries. ...

Is there an equivalence to CDOSYS AutoGenerateTextBody in .NET

I'm porting some VBScript code which generates emails using the standard CDOSYS Message object. The Message oject has a property AutoGenerateTextBody which when true will cause it to automatically create the TextBody property value when you assign HTML to the HTMLBody property. Hence creating the typical text/plain and text/html altern...

Best Practice for Label-Input layout in ASP.NET

What is the generally most accepted way of grouping labels and inputs? Currently I am placing each pair in a div, but previously I have also placed each pair in a <p>. Are there better ways? ...

Use PHP to create a DOC file on a Unix Box based on an HTML webform selection

Hello, I have an HTML file which contains a webform with multiple questions which have a YES / NO responses. If the question has a YES answer, I would like a predefined ( per question ) section of text to be written to a DOC file on the server, but only AFTER the submit button has been pressed ( this way, if the user changes their mind...

Scrolling Cell in a 100% height TABLE

I'm sorry if this was already answered, but it's kind of difficult to search for something with "100% height". My problem is that I need 100% height table layout because of automatic cell resizing done by browser, which I don't want to script myself for obvious reasons. It differs from other "100% problems", in that I need some cells t...

HTML / JSP Visual Design Editor

Is there a graphical design tool for html/jsp pages like jsf pages (like the aspx .net environment)? ...

Why does <button> make "GET" in Firefox/Chrome, but "POST" in Opera?

Hi there. I'm developing a website (ASP.NET Webform with C#) where I have a <button> element. Here's the code snippet: <a href="ThisPage.aspx" ID="myButtonID" runat="server"> <button>Configure new trip</button> </a> When I use Firefox or Chrome, this code does a "GET" over this ThisPage.aspx. That's what I want to do, actually. ...

Help! TinyMCE is reformatting my code!

Hey, when i edit the HTML source from: <div /> the result is always something like: <div></div> i don't want that.. it should leave my code alone ;) here is the config: tinyMCE.init({ // General options mode : "textareas", theme: "advanced", element_format : "xhtml", remove_linebreaks: false, remove_redundant_brs: false,...

div height problem in ie6

i'm using a empty div to display a line by setting height 3px. it works fine in all browsers but in ie6 the height div displayed with 20px height. It remains same even for height:0px . But changes in other properties reflects but not height and there is no duplicate css entry and inherited value from other div. Can any one help please <...

How to insert XUL into a XHTML document

I have a XHTML document and wnat to embed XUL widgets into the document. What is the correct XML syntax to do so? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" co...

How to limit the size of an HTML textarea with JavaScript?

Anyone have code to limit the characters in a text field and display the character count? I need something like twitter status input and I can't find anything online. If there isn't anything out there, I'll probably make a jQuery plugin or at least open source this thing. Thanks! ...

best practices / tips for storing html tags in resource files

I have the following situation assume i have to display the data in the follwing format. I am 20 years old . i need the number 20 to be in bold. I'm fetching this string from resoucre file like this string.Format(HttpContext.GetGlobalResourceObject("ResourceFile","Key"),age); should i consider adding the tags <b> and </b> in the...

Why does Amazon put their CSS in the Head tag?

Okay, what is Amazon doing? They put all their CSS definitions in the <head> tag? I can see the purpose of saving requests, but it doesn't seem very dynamic to me. Any ideas? ...

Transforming XML in ISO-8859-1 to HTML

I have an XML document that I'm transforming using XSL and then spitting out directly into an HTML document (all server side). Everything works OK functionally but special characters (specifically the © symbol -- these are ads and many have © symbols) don't show up right (IE shows ? and FF shows a diamond with a ? inside). Obviously so...

How to use libtidy with tidyParseBuffer()?

I'm trying to clean some HTML with libtidy (C language), the problem is: I want to construct a TidyDoc (a tree-like structure) with tidyParseBuffer(). I have no problem with tidyParseFile(); about tidyParseBuffer(): I'm sure I read the file properly and that the TidyBuffer structure I give to tidyParseBuffer() is correctly filled. Any...