Lose format when I add a form script


Author Message
Paultf

Posted: 6/22/2009
Quote message 

Whenever I add a javascript form to my Artisteer site, I lose the formatting.
Here is a sample of what happens:

http://www.prographicsprinting.com/contact2.html
http://www.prographicsprinting.com/contact3.html

I added a form script to the table of the second page. This also happened when I added an aweber contact form to another page.

I've never had this type of issue with any other sites where I've used the exact same scripts. How do I add these type of scripts and retain the original formatting?

Thanks,
Paul

 
benjamin72070

Posted: 6/22/2009
Quote message 

I opened the page source of the two pages in notepad++ and did a compare of the two and the second page is missing a significant number of divs used in the first page to display the graphics. If you are exporting to html/css and hand coding the pages, then you have significantly changed the layout of the pages. If you are using Wordpress, Drupal or Joomla to render the pages, then someting in them is not playing nice with your script.

Regards,

Benjamin 8-)
 
benjamin72070

Posted: 6/22/2009
Quote message 

After looking even closer at the differences, I am supposing that you are using a editor that gives you the option to remove empty <div> tags thinking that they are just there as extra clutter. If your editor gives you this "functionality", turn it off . those "empty divs" are what hold the graphics that create the template.

Regards,

Benjamin :-)
 
Paultf

Posted: 6/22/2009
Quote message 

Thanks Benjamin,

I just looked in the preferences tab and saw "Reformat HTML" was checked as the default! This issue has been driving me crazy for over a month and I think you just saved me from insanity! I was at my wits end.

I wasn't comparing source code from published pages, I was only looking at the changes that were made in the editors so I wasn't comparing anything.
I just changed the preferences and it was fine. I'd been using Komposer and Seamonkey and both were at the same setting.

THANK YOU, THANK YOU!!
Paul