dir /p -- pause
dir /w -- wide list
dir /s -- sub dir
Source
Monday, July 12, 2010
Compatible CSS for first-child
selector:first-child {declarations}*:first-child + html selector{declarations}*:first-child + html selector{declarations} * html selector{declarations}
Example:
.dateElement td:first-child { width:80px; }
*:first-child + html .dateElement td{ width:80px; }
*:first-child + html .dateElement td{ width:80px; } * html .dateElement td{width:80px;}
Example:
.dateElement td:first-child { width:80px; }
*:first-child + html .dateElement td{ width:80px; }
*:first-child + html .dateElement td{ width:80px; } * html .dateElement td{width:80px;}
Saturday, July 10, 2010
Stylesheets / CSS in Javascript
if(document.styleSheets[index].cssRules) rules=document.styleSheets[index].cssRules
else if(document.styleSheets[index].rules) rules=document.styleSheets[index].rules;
var firstRule=rules[0];
var selector=firstRule.selectorText;
var style=firstRule.style;
Maxlength in Javascript
Correct procedure:
element.maxLength=value
Wrong procedure:
element.setAttribute("maxlength",value)
element.maxLength=value
Wrong procedure:
element.setAttribute("maxlength",value)
Deleting form datas in Firefox
- Open the page which is having the form whose entries has to be deleted.
- Mouse over the form entry which has to be deleted, in the drop down showing suggestions.
- Press Shift + Delete.
Subscribe to:
Comments (Atom)