html

What is the best way to convert HTML into Excel

Hi, I have an HTML page which has a flash chart(FusionCharts) and HTML table. I need to convert this whole thing into Excel. HTML table should be displayed in cells of excel sheet. Flash chart can be displayed as an image. Is there any open source API that we could use for achieving this. Could you let me know what are the possible opt...

Why does Internet Explorer 8 print invisible content?

Hi, please check the HTML code below. The 3rd DIV is partially visible because it is overlayed by the 2nd (which has a white background). All good so far, everything displays correctly in both IE and Firefox. The problem starts when I print the page. In Firefox it prints as displayed on the page. In Internet Explorer 8 it somehow print...

Pretty URLs without mod_rewrite, without .htaccess

Without a possibility to access .htaccess I find myself in a creative impasse. There is no mod_rewriting for me. Nevertheless, I want to be able to do the nice stuff like: http://www.example.com/Blog/2009/12/10/ http://www.example.com/Title_Of_This_Page What are my alternatives? In respond to the answers: I'm building with php5 I ...

How do I set an HTML class attribute in Markdown?

If I have some Markdown like ## My Title A paragraph of content here. code_line(1); // a code comment class MoreCode { } and more text to follow... How can I set a class on the <code> block that's generated in the middle there? I want to have it output <code class=’prettyprint’> code_line(1); // a code comment cl...

Images not displaying in certain browsers

having just completed first wordpress theme uploaded and working fine in FF, testing has revealed that the images in the following page do not display in safari and chrome. http://www.isabelarbelaez.com/category/projects/so_it_goes Anyone any ideas why? I cannot see why at all. The images on the page display in FF, IE and Opera, just ...

Silent print a embedded PDF

Hi folks, I have a web page with embedded PDF on it. My code looks like this: <embed type="application/pdf" src="path_to_pdf_document.pdf" id="pdfDocument" width="100%" height="100%"> </embed> I have this javascript code for print my PDF: function printDocument(documentId) { //Wait until PDF is ready to prin...

Turning off Request.Form validation on inherited button control

Is it possible to turn off the Request.Form validation on a per control basis? The problem is that IE 6 and IE 7 puts the content of the <button> tag into the name attribute, thus resulting in html code in the attribute which makes asp.net server shout out loud. Notice, this only happens in IE 6 and 7 because of their erroneous interpre...

How can I make two proportional columns in HTML/CSS where the left column follows the user as they scroll?

I want a two column layout where the two columns are proportional in size to each other and won't overlap. The left column has only a little bit of content in the top of it and should scroll down with the page (float along with the page as it scrolls down.) The right column will have a lot of data and won't have a scrollbar, the browse...

Validating Dates in Javascript with Unusual Form Field Ids - Salesforce.com Web-To-Case Integration

Ok, I need help. This is my first question here. Background: I am working on a charity project, and my portion of the project is to build the Web-To-Case functionality with Salesforce.com. Salesforce.com, if you were unaware, gives its software away free to qualified non-profits. Anyway, the Web-To-Case feature in Salesforce.com ge...

Selecting only first-level elements in jquery

How can I select the link elements of only the parent <ul> from a list like this? <ul> <li><a href="#">Link</a></li> <li><a href="#">Link</a> <ul> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </li> <li>...

mixing html and C#

I have some html that is going to be in every page so i stuck it in a .cs file. This piece of html has a lot of quotes so i would prefer not to escape each of the (\"). It isnt hard to since i can use find/replace but i wanted to know. Is there a nice way to mix html and CS so i can easily generate the page? ...

Moving focus when opening a panel using JQuery

on the following site i have two hidden panels labelled "show map" and "show floor plans". When the the header of each is clicked the slide panel is opened. The floor plans is long and thus will go below the page view. is there anyway to keep focus at the bottom of the panel, so that when it's clicked you manage to see the whole windo...

Search type links in Yahoo - how to implement similar behaviour

When you open the yahoo main page at the top there is a search section that contains links like: Web, Images, Video, More When clicking on the link the chosen section is activated and the text of the search button is being changed. The only part of the page that is updated is the search part at the top and the other parts of the website...

The Future: XHTML 2.0 vs HTML 5

Possible Duplicates: HTML 5 versus XHTML 1.0 Transitional? Why are (X)HTML 5 and XHTML 2 separate standards? At the end of the day, why choose XHTML over HTML? I mean, the HTML and XHTML models have been a mess for the past years. I'm one of those web developers that when learned about a thing called "standards", that start...

How to make sure the CSS work fine with all browsers without eye testing on each broswer?

Making CSS for one website to support for all browsers in different version is really difficult. Especially, it needs to have different browsers set up. I just wonder is it possible to test the CSS and make sure it works with all browsers without open each browser and manually check the layout? or Is there any quick or standard way to d...

Dynamic height for popups depending on content, is it possible?

Is it possible to get a window popup with always 400px wide, but dynamic height depending on the content in the popup window? I have seen this but not sure how to apply it to popup windows http://stackoverflow.com/questions/819416/adjust-width-height-of-iframe-to-fit-with-content-in-it ...

C++: Remove all HTML formatting from string?

Hi, I have a string which might include br or span.../span tags or other HTML characters/entities. I want a robust way of stripping all that and getting the remaining UTF-8 characters. This be should be cross-platform, ideally. Something like this would be ideal: http://snipplr.com/view/15261/python-decode-and-strip-html-entites-to-...

rounded css in cluetip

I'm using cluetip for my page, it's work fine in IE 6 and IE 7 but in firefox the rounded box can not wrapped all the content include an image and some text. I couldn't fix this all night long. Some one had an experience show me the way please! Thank you very much! My code look like this: <li> <a href="#" class="scroll" rel="div#1"> <im...

Finding malformed XHTML with Javascript

Does anyone have a good way of finding if a string contains malformed XHTML using Javascript? Since my page allows 'user' generated XHTML returns (the users can be trusted) and injects it into the DOM, I want a way to check if there are unclosed or overly closed tags, and encode them as &lt; and &gt; so that it will simply display the e...

How do I focus an HTML text field on an iPhone (causing the keyboard to come up)?

I'm writing an iPhone web app, and I want to automatically focus a text field when the page is loaded, bringing up the keyboard. The usual Javascript: input.focus(); doesn't seem to be working. Any ideas? ...