Category Archives: HTML / CSS

CSS selectors optimisation

From the last chapter of “Even faster websites”. CSS selectors are matched right to left (!). That means the rightmost selector should be as less broad as possible: you should avoid * and tags as rightmost selectors. The quickest selectors … Continue reading

Posted in HTML / CSS | Leave a comment

Valign Using CSS

td { text-align: top; vertical-align: top; }

Posted in HTML / CSS | Leave a comment

HTML + CSS menu

Horizontal with subnva http://phoenity.com/newtedge/horizontal_nav/#inline Horizontal http://www.wings-properties.co.uk

Posted in HTML / CSS | Leave a comment

PHP HTML – Display Data in CSV or HTML Table Format

csv_html_dispay

Posted in HTML / CSS, PHP | Tagged | Leave a comment

Javascript: Check / Uncheck All The Checkboxes Of a Certain Group

/* * It checks all the checkboxes of a certain group (that shares a name like this: checkboxes[]) * * @param the Javascript Element that contains all the checkboxes of a certain group * * Example of usage: * var … Continue reading

Posted in HTML / CSS, Javascript | Leave a comment

Fix IE6 Layout Bugs With Javascript

http://sourceforge.net/projects/ie7/ http://dean.edwards.name/IE7/

Posted in HTML / CSS, Javascript | Leave a comment

Identify a Font Face

http://www.myfonts.com/WhatTheFont/ http://www.identifont.com/ http://www.whatthefont.com

Posted in HTML / CSS | Tagged , | Leave a comment

CSS: Make a Table Row Appear and Disappear (Cross Browsing)

To make it disappear (as usual): xxxx.style.display = “none”; To make it appear: xxxx.style.display = “”; The last trick is because, this: xxxx.style.display = “table-row”; wouldn’t work in IE6 and IE7

Posted in HTML / CSS, Javascript | Leave a comment

Bullet Collection for Unordered List

http://www.stylegala.com/features/bulletmadness/

Posted in HTML / CSS, Web Design, Web Site | Leave a comment

HTML: Readonly checkbox

<input onclick=”javascript: return false;” name=”my_name” type=”checkbox” value=”yes” />

Posted in HTML / CSS, Javascript | Leave a comment