1. Stephan H. Wissel01/18/2006 10:19:18 PM
Homepage: http://www.wissel.net
Overwriting the font tag is a nice prank you can play with web designer that haven't upgraded to CSS. Overwrite it with different sub selectors (in FF even attributes would work) and let them figure out what happend...
stw
2. Sergey Redko04/14/2007 05:37:11 AM
Just put the following code in OnLoad section of your form and you CSS will work:
var oFONTs = document.getElementsByTagName('Font');
var oTmp;
if(oFONTs) {
for(var i=0;i<oFONTs.length;i++) {
var oTmp = oFONTs;
oTmp.removeAttribute("size");
}
};
Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | |||