How to select a radio button by default?

XHTML solution: Please note, that the actual value of checked attribute does not actually matter; it’s just a convention to assign “checked”. Most importantly, strings like “true” or “false” don’t have any special meaning. If you don’t aim for XHTML conformance, you can simplify the code to:

mailto using javascript

No need for jQuery. And it isn’t necessary to open a new window. Protocols which doesn’t return HTTP data to the browser (mailto:, irc://, magnet:, ftp:// (<- it depends how it is implemented, normally the browser has an FTP client built in)) can be queried in the same window without losing the current content. In your case: Or just … Read more

mailto using javascript

No need for jQuery. And it isn’t necessary to open a new window. Protocols which doesn’t return HTTP data to the browser (mailto:, irc://, magnet:, ftp:// (<- it depends how it is implemented, normally the browser has an FTP client built in)) can be queried in the same window without losing the current content. In your case: Or just … Read more

shifting a piece of text down using CSS

If I’m reading this correctly, then you’re trying to straddle the border between two table cells which won’t work. You’ll need to consolidate the first two cells in the right column and then rowspan=”2″ the new cell with the number in it. Then top or bottom vertically align the text in the cell and add … Read more