Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
Hi,

I have been working trying to get my contact form up and running... which I finally did. Smile One problem- this changed the font style on my buttons on the rest of the page. Is there something I can add or remove on my form's code to have it only format the text in that code box {aka the contact form} and not the rest of the page?

Here's the page effected:

http://www.e-decoratingonline.com/contact.html

Thanks for your help!
 
Posts: 2 | Registered: July 30, 2009Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
The problem is probably the way you have inserted that form since now on line 173 after object 3 you have inserted the form that starts with a new head opening tag.

It may be that part of all the code there is suppose to go in the head and part in the body.
Hope this helps.
 
Posts: 339 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Aussie' Mechanic
Picture of postyr
Posted Hide Post
Newer is correct, but there are further problems.

You actually have three opening head tags and only one closing.

The SS head opens on line 4 and closes on line 40. Another opening head, as Newer points out is on line 173, which is not the actual form, but a link to a feedback (blog?) page.

Your form is placed after yet another opening head tag on line 737.

I’m not quite sure how it works, but I would think that any settings in the SS generated head would be overridden by what’s in the second, then yet again what’s in the third.

I don’t know how your page is actually working at all. If it were human, it would react the same as my old befuddled brain. Until you fix the actual page layout, it will be difficult to fix your font problem.

My suggestion would be to place whatever code you have imported that requires to be in the head into an SS custom header using the Page Editor (I see you have SS Standard, not Pro). Then you may be able to set individual CSS classes, and/or set font properties within their own divs.
 
Posts: 1153 | Location: Australia | Registered: April 17, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
I agree. Your form code needs major rework. There is the code for the form itself, then the CSS that controls the form presentation, then other javascript code whose purpose is not clear to me.

I would be tempted to either:
1. Move the whole form code onto its own page and place that page in an i-frame -- if you are confident the whole page works in isolation. OR;
2. Abandon the code and instead use a regular SiteSpinner form as described in the tutorials.

Also I notice you are using "Bernhard-Fashion" font for your text. This is not web-safe, and will cause problems for computers that don't have that font -- their font won't be as you see it.
 
Posts: 9225 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.