Friday, April 07, 2006


Recently I ran into a problem with using CFDUMP on a HTML 4.1 quirks mode page. When I turn off quirks mode, CFDUMP renders correctly, but when it's on, the text inside of the collapsible div's is way too small. Unfortunately you cannot edit the CSS that CFDUMP generates, but you can change it with JavaScript...

<script language="Javascript" type="text/javascript">
//set object for brevity
replaceObj = document.getElementsByTagName("td");

//loop over element objects returned
for (i = 0; i < replaceObj.length; i++ ) {
    replaceObj[i].style.fontSize = "x-small";