html

Table caption width

I have been given an existing table layout (for tabular data) with the task of making it as accessible as possible. I added a caption tag to each table within the layout and I realized the caption width is not consistent across different browsers. After a bit of trial and error with CSS, I managed to get it right on all the browsers I n...

Adding Facebook Like button to fan page

i have a facebook page and i cannot insert the button facebook like. i tried to put an iframe code and it works in a simple site. but in the facebook page dosn't work....why???? <iframe src="http://www.facebook.com/widgets/like.php?href=http://example.com" scrolling="no" frameborder="0" style="border:none; width:450px; height:80...

How to draw a circle to denote selection in html

Env: jQuery, html John had a big lunch, so he might want / might not want to eat this evening. Assuming you pose this question to a student, he will have to either circle (might want or might not want) to answer it in paper-pen test. How do you mimic drawing a circle around the text when he clicks on those words and toggle the selecti...

How might I write a program to extract my data from Google Code?

I'm about to start writing a program which will attempt to extract data from a Google Code site so that it may be imported in to another project management site. Specifically, I need to extract the full issue detail from the site (description, comments, and so on). Unfortunately Google don't provide an API for this, nor do they have an ...

How to create a MsWord (.doc) file from php that spans more than one page (using html)

Hi, i need to create a .doc file that has more than one page. I want to create the doc file from html (setting the headers so that it is interpreted as a doc file) but i don't know how to add a page break in html that is correctly recognized from word. Thanx in advance ...

How do I add background color to items in a list

I have an ordered list <ol> <li class="odd">Lorem ipsum dolor sit amet, consectetur ...</li> <li class="even">Some more text</li> </ol> To look something like this: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis Some ...

how to set iframe height to 100% with javascript

how to set iframe height to 100% with javascript Example : http://mkb.ma/5f ...

Audio on mouseover

It it working partially, but how do I get the below to work with multiple audio files: <!DOCTYPE HTML> <html> <body> <script language="javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"&gt;&lt;/script&gt; <script type="text/javascript"> $(function(){ var birdhover = $('.birds'); ...

HTML overlay on a swf flash movie

Hi All I'm having trouble displaying a overlay div saying "Please wait..." on top of a flash movie, even with absolute positioning and z-index highier than the flash movie itself. But the overlay div is still behing the flash movie. Why is that? I think it's something to do with embed/param tags but I'm not sure, please can someone advi...

What can I use to create html page-per-chapter/monolithic-page/pdf reference manual?

Howdy, I want to write a reference manual for a project, and I want to make it available both online as a HTML one-page-per-chapter manual (optionally single-monolithic-page would be nice as well) and as PDF version. Prime examples: The Gentoo Handbook (html one page per chapter, html monolithic) Netty's user guide (html one page per...

How many nested tags in HTML can you have before it crashes a browser?

I had a thought earlier today regarding nested HTML tags and how browsers render them: <html xmlns="http://www.w3.org/1999/xhtml" {or whichever html version} xml:lang="en" lang="en"> <head> </head> <body> let n = 1 <div> recurse div n times until maximum (browser fails) </div> </body> </html> what will n be when the browser cann...

A:Hover problem in chrome

Hi, I seem to be having a problem with styling my links for chrome, yet it works in safari. I have my normal styling like this: a:link { color:#000; text-decoration:none; } a:hover { color:#c40000; } etc.... Now this works on some of the links but it doesn't work on them all, i can only get it to work on the other ones ...

Insert an image on mouseclick location

Hey guys, I need to insert an image wherever the user clicks on a specified element (another image), and for it to sit in front of that image. Can this be done in javascript? If not, with what? Thanks ...

How will you customise a html page so that it accepts multiple language?

How will you customise a html page so that it accepts multiple language? ...

Adding a like button to a Facebook page using xFBML

Possible Duplicate: Adding Facebook Like button to fan page I have a Facebook page to advertise my company. I want to insert a button that looks like a Facebook "like" button using xFBML. How can I do that? ...

jQuery autocomplete - clicking submit button does not count as "change".

Yeah, this is indeed my third or fourth question about jQuery UI Autocomplete. My latest annoyance is that clicking the 'submit' button in a form does not seem to count as a 'change' for jQuery. When my input box changes, jQuery runs some javascript to force a match against a list of acceptable inputs and their values: jQuery("#Resource...

Why can't I submit a dynamically created form in Firefox

I copied a part of a bigger project i'm working on, I didn't wrote the code so I hope someone could help me find out why sending a post request from js code with this fashion works in IE and doesn't in other browsers. function f() { var container = document.createElement("form"); container.method = "post"; container.action=...

How can I avoid the overwriting of css properties?

Take this code: #wh_wrapper #slider .scrollButtons.left { width: 100px; } the width of 100px is being applied only to: #wh_wrapper -> #slider -> scollButtons left If I do this: .left { width: 50px; } all the .left classes has now a width of 50px, including the one from before. Now, I completely understand how to avoid t...

Should I use polyglot documentation?

It's possible to interleave a C++ source file with an HTML document: //<![IGNORE[ /*]]> <html> <head> <title>Example</title> </head> <body> <p>Example</p> </body> </html> <![IGNORE[*/ #include <iostream> int main(int argc, char** argv) { std::cout << "Hello, world!\n"; } /*]]> <![IGNORE[*/ //]]> This leaves a stray // at th...

Is there a standard for generating well formatted forms?

I'm wondering if there is a standard for forms. I mean, when you write a form in HTML, one usually writes it based on its needs, without taking care of its HTML structure. I ask this because I'm working on a Form generator in PHP. I want to make something easy to use and a generated HTML code easy CSS-customizable. There are some Form ...