Category Archives: Snippets

quick code tips for single elements, attributes, or details

Border CSS for Tables

I was reacquainted this week with a couple of CSS attributes for the HTML table. table{border-collapse: collapse; border-spacing: 0px 0px;} border-collapse has three attributes: collapse – Borders collapse into a single border. border-spacing and empty-cells properties will be ignored separate … Continue reading

Posted in Code, CSS, Snippets | Comments Off on Border CSS for Tables

snippet – cfquery.executionTime

Got long running queries? <cfquery name=”myquery” datasource=”ds”> select whatever </cfquery> <cfoutput>Exection time: #cfquery.executionTime# msecs</cfoutput> Note: the syntax is cfquery.executionTime not queryname.executionTime

Posted in Code, Coldfusion, Snippets | Comments Off on snippet – cfquery.executionTime

Cell phone links on a page

While searching for ways to make a cell phone call a phone number on a web page I found there is no official standard. The most common seems to use the anchor tag with href=”tel:9999999999″. It does work from my … Continue reading

Posted in Code, Snippets | Comments Off on Cell phone links on a page