two stylesheets problem, i cannot have two sheets working correctly on one page |
two stylesheets problem, i cannot have two sheets working correctly on one page |
explorers5000 |
Aug 8 2011, 11:10 PM
Post
#1
|
Newbie Group: Members Posts: 16 Joined: 8-August 11 Member No.: 15,126 |
i have a problem which i cannot solve..
i found a nice php popup contact form for my page which aldready has layout.css and this contact form has its own .css file which is called popup-contact.css the contact form work without a problem with its test page: http://www.tercume.pro/a-page.php when you click on the yellow "contact us" button you will see that the form is nice and styled.. however, when i implement it to my website www.tercume.pro/index.php where the form is supposed to be,and click on the picture with numbers on, you see that the form does not get rendered and is without the style and even the "close link" is not visible, whereas it is properly styled on the a-page.php when i get rid of the layout.css in the index.php, then the form is styled but then the page is not.. i wanna have both the styles in one page.. so how can we solve this? |
Frederiek |
Aug 11 2011, 03:49 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I assume you got the script from http://www.html-form-guide.com/php-form/ph...validation.html. Unfortunately, there aren't any online demos, but there are several demos in the zip file. I suppose you added some code (from somewhere else?) to put it in an overlayer (popup).
Anyway, sample 2 seems to be the one you use. A thank-you.php is used for the succesfull submission of the form. It seems to me you have to load that in the popup, like you did for the contact form itself, only now after submision of the form. IIRC, you also use some other js validation, which seems overkill. BTW, your site seems to be down now, as I get redirected to http://error404.000webhost.com/? . |
Lo-Fi Version | Time is now: 23rd April 2024 - 10:41 AM |