Style Definitions

obisi7 28 Aug, 2010
Forms I designed in Dreamweaver have <style> defs which I used to include in the form code. But now we are hinted not to insert <style> codes anymore. So where should I place these style defs that actually define the layout and colors of my form?

I thought of putting them in the CSS style box but it says this will overide the CF css so I am afraid to break the CF code.

Pls advise and thx.
GreyHead 29 Aug, 2010
Hi obisi7,

You can add the CSS to the Form CSS box and test the results. Most of the time there will be no problems, occasionally you may find a conflict that you'll need to fix.

Bob
obisi7 29 Aug, 2010
Thx the Grey (Great) One. When I go to save my form, I get the following screen-full of trash code in the edit window of the forms management (not in my code though). When I restarted again as soon as I open any of the forms created for further editing, I still get the trash code. I clicked on a red X mark beside the window to see if it will be deleted but nothing happens.

Not sure what is causing this and how to get rid of it. S.O.S. Below is just a few line copy of the trash code. Can't make out anything from it.

ailitem))) ){ emailitem.effect('background-color', {wait: false, duration: 100}).start('CEFF63','CEFF63'); } emailitem.addEvent('click', function() { $$('div.cf_email').each(function(item){ item.setProperty('id',''); item.setStyles({'border':'1px #111 solid'}); }); this.setProperty('id','cf_email_active'); this.setStyles({'border':'3px #111 solid'}); ShowEmailProperties(); }); }); $$('.form_item_email').each(function(formitem){ formitem.addEvent('click', function() { $$('.form_item_email').each(function(item2){ item2.setStyle('border', '0px solid #000'); $E('.delete_icon', item2).setStyle('display', 'none'); }); this.setStyle('border', '0px solid #000'); $E('.delete_icon', this).setStyle('display', 'none'); this.effect('background-color', {wait: false, duration: 100}).start('ffffff','ffff
GreyHead 29 Aug, 2010
Hi obisi7,

Thank you - but not so great with this one. We see this reported by someone every 4-6 weeks, as far as I know Max hasn't yet managed to pin down the what causes it :-(

For the moment, try clearing your browser cache, or opening the admin area in a different browser and see if that clears the problem (fingers crossed).

Bob
This topic is locked and no more replies can be posted.