Archive for the ‘Html’ Category

HTML5: Charts libs (JQuery, Raphael, Flash, Google)

Wednesday, February 3rd, 2010

HTML: Force download for .gif, .png, .pdf

Thursday, December 3rd, 2009

Set content-disposition: attachement; filename=”…”

HTML: Firebug Console Log

Saturday, April 18th, 2009
if (window.console && window.console.log)
   window.console.log('hilight selection count: ' + $obj.size());

HTML: AJAX Modal Dialog Box

Wednesday, March 25th, 2009

Here are some JQuery puglins for creating Modal Dialog Box:

  • Facebox: Facebook L&F, does have some images for corners.
  • SimpleModal: Seems simple and lightweight.
  • ThickBox: Seems complete but quite heavy (also, not very well maintained, last change log was from 2007).

OpenWeb: Web-Based HTML Editors

Wednesday, February 11th, 2009

Here are few Web-Based HTML editors I found (HTML-Area seems to not be maintained anymore)

HTML: Link with OnClick and blank Href

Thursday, October 30th, 2008
<a onclick=”myFuction(event);return false;” href=”">Some Text</a>

The return false; prevents the browser to follow the href link. Note that have the method return false does not work.

Using HREF JavaScript Links

Html: Create form definitions outside table.

Sunday, October 12th, 2008

Make sure that you keep the

tag outside of the table definition.

and not

HTML: Windows & Mac “Safe” Fonts

Saturday, October 4th, 2008

Sans Serif Examples

font-family: Arial, Helvetica, sans-serif;
font-family: ‘Arial Black’, Gadget, sans-serif;
font-family: Impact, Charcoal, sans-serif;
font-family: ‘MS Sans Serif’, Geneva, sans-serif;
font-family: ‘MS Serif’, ‘New York’, sans-serif;
font-family: ‘Trebuchet MS’, Helvetica, sans-serif;
font-family: Verdana, Geneva, sans-serif;
font-family: ‘Lucida Sans Unicode’, ‘Lucida Grande’, sans-serif;
font-family: Tahoma, Geneva, sans-serif;

Monospace fonts

font-family: Courier, monospace; Courier
font-family: ‘Courier New’, Courier, monospace; Courier New, Courier
font-family: ‘Lucida Console’, Monaco, monospace; Lucida Console, Monaco

HTML: Why not to use font-family “Verdana”

Saturday, October 4th, 2008

http://www.xs4all.nl/~sbpoley/webmatters/verdana.html

In short, Verdana is much bigger than the other font. Putting the font-size at 85% will resolve this issue, however, if the user does not have Verdana, then its default font will be way too small.