tagged [html]

Javascript + IMG tags = memory leak. Is there a better way to do this?

Javascript + IMG tags = memory leak. Is there a better way to do this? I've got a web page that's using jquery to receive some product information as people are looking at things and then displays the...

3 Dec at 06:23

Which CMS should I use to manage a small internet site without programming experiences?

Which CMS should I use to manage a small internet site without programming experiences? I'm looking for a CMS system to manage a simple and small website. The website will be made with pure HTML and s...

Can not round trip html format to clipboard

Can not round trip html format to clipboard I want to write Html format, but I can not even get a simple MSDN example of it to work. [http://msdn.microsoft.com/en-us/library/tbfb3z56.aspx](http://msdn...

6 Dec at 23:26

Is it possible to embed an AS3 swf in a DIV layered above an embedded AS2 swf?

Is it possible to embed an AS3 swf in a DIV layered above an embedded AS2 swf? I think the question is pretty self explanatory. Anyone done this before? : Clarification on why I need to do this. We ha...

10 Dec at 19:47

Alternate background colors for list items

Alternate background colors for list items I have a list, and each item is linked, is there a way I can alternate the background colors for each item?

11 Dec at 03:18

Are iframes considered 'bad practice'?

Are iframes considered 'bad practice'? Somewhere along the line I picked up the notion that using iframes is 'bad practice'. Is this true? What are the pros/cons of using them?

12 Dec at 13:30

Using Lookahead to match a string using a regular expression

Using Lookahead to match a string using a regular expression I need to match a string holiding html using a regex to pull out all the nested spans, I assume I assume there is a way to do this using a ...

12 Dec at 22:46

How to prevent IFRAME from redirecting top-level window

How to prevent IFRAME from redirecting top-level window Some websites have code to "break out" of `IFRAME` enclosures, meaning that if a page `A` is loaded as an `IFRAME` inside an parent page `P` som...

15 Dec at 19:50

How do you post data with a link

How do you post data with a link I have a database which holds the residents of each house in a certain street. I have a 'house view' php web page which can display an individual house and residents w...

8 Jan at 22:39

CSS/Javascript to force html table row on a single line

CSS/Javascript to force html table row on a single line I have an HTML table that looks like this: ``` ------------------------------------------------- |Column 1 |Column 2 | -----------...

8 Jan at 23:24

Render PDF in iTextSharp from HTML with CSS

Render PDF in iTextSharp from HTML with CSS Any idea how to render a PDF using iTextSharp so that it renders the page using CSS. The css can either be embedded in the HTML or passed in separately, I d...

10 Jan at 05:3

Graceful degradation of anchor tags with javascript

Graceful degradation of anchor tags with javascript I currently rely on anchor tags to perform AJAX requests on my web application (using jQuery). For example: ``` $(document).ready(function() { ...

How does IE7's "View Source" button interact with javascript?

How does IE7's "View Source" button interact with javascript? I'm debugging someone else's code for a web page that is made with ASP.NET with some javascript effects. It's a form that we are pre-popul...

Dynamically display a CSV file as an HTML table on a web page

Dynamically display a CSV file as an HTML table on a web page I'd like to take a CSV file living server-side and display it dynamically as an html table. E.g., this: should become this:

6 Feb at 04:54

Selecting attribute values with html Agility Pack

Selecting attribute values with html Agility Pack I'm trying to retrieve a specific image from a html document, using html agility pack and this xpath: As far as I can see, it finds the src-attribute,...

12 Feb at 15:57

Multiple line code example in Javadoc comment

Multiple line code example in Javadoc comment I have a small code example I want to include in the Javadoc comment for a method. ``` /** * -- ex: looping through List of Map objects -- * * for (int ...

12 Feb at 15:59

HttpUtility.HtmlEncode doesn't encode everything

HttpUtility.HtmlEncode doesn't encode everything I am interacting with a web server using a desktop client program in C# and .Net 3.5. I am using Fiddler to see what traffic the web browser sends, and...

13 Feb at 21:11

Two submit buttons in one form

Two submit buttons in one form I have two buttons in a form. How do I determine which one was hit serverside?

13 Feb at 21:52

I have a jquery autocomplete entry that I want to add a down arrow image inside of

I have a jquery autocomplete entry that I want to add a down arrow image inside of I have a jQuery autocomplete entry that I want to make look more like a "combobox". I set it up so that when the user...

21 Feb at 15:51

How to load up CSS files using Javascript?

How to load up CSS files using Javascript? Is it possible to import css stylesheets into a html page using Javascript? If so, how can it be done? P.S the javascript will be hosted on my site, but I wa...

22 Feb at 13:48

How to put in text when using XElement

How to put in text when using XElement I'm using the new System.Xml.Linq to create HTML documents (Yes, I know about HtmlDocument, but much prefer the XDocument/XElement classes). I'm having a problem...

25 Feb at 20:38

How can I get all a form's values that would be submitted without submitting

How can I get all a form's values that would be submitted without submitting I have a form on my page and am dynamically adding controls to the form with Javascript/JQuery. At some point I need to get...

25 Feb at 22:47

Fix height of a table row in HTML Table

Fix height of a table row in HTML Table Kindly look at the following code: ```

27 Feb at 07:42

How to disable all div content

How to disable all div content I was under the assumption that if I disabled a div, all content got disabled too. However, the content is grayed but I can still interact with it. Is there a way to do ...

12 Mar at 19:58

HTML - How do I know when all frames are loaded?

HTML - How do I know when all frames are loaded? I'm using .NET WebBrowser control. How do I know when a web page is fully loaded? I want to know when the browser is not fetching any more data. (The m...

23 Mar at 13:48