The Problem:
You need to give an element a minimum height and you need to work in both FireFox (FF) and Internet Explorer (IE).
The Solution:
In your default style sheet use the declaration below. This will be picked up by Firefox.
min-height:500px;
In your conditionally included style sheet for IE set this declaration.
height:500px;
overflow:visible;
That’s it!
Here are some Tips and Tricks that I learned during the CommonSpot developer training. I’ve found them useful while working in this CMS so maybe you will too!
Debug Settings
Add this to the end of your site’s URL to fire up the debug settings.
/loader.cfm?csmodule=utilities/debug-settings
Cacheing
Don’t want your element to cache while you’re developing it?! Add this single [...]
The Problem:
I recently built a form for a customer which had a really long legend! My content area was floated to allow for a right hand sidebar and I noticed that with the addition of the new legend the layout had broken.
The issue, it turns out, is that both IE and FF handled the legend [...]
Demonstration of a CSS issue in IE regarding CSS hover menus and a way to fix it.
13
CommonSpot Custom Field Validation
4 Comments | Posted by Will Wright in Cold Fusion, CommonSpot
The Problem
You’re making a form and the out-of-the-box field types just aren’t cutting it. Most web developers are familiar with this scenario. The biggest culprits are phone numbers, addresses, and credit cards.
Let’s look at how you can quickly inject you’re own JavaScript validation into a CommonSpot form to handle any kind of validation that you [...]
