The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> two stylesheets problem, i cannot have two sheets working correctly on one page
explorers5000
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Frederiek
post 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/? .
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
explorers5000   two stylesheets problem   Aug 8 2011, 11:10 PM
pandy   Have you already found some of the problems? The o...   Aug 9 2011, 07:15 AM
pandy   Now I notice that the URL to both the style sheets...   Aug 9 2011, 07:17 AM
explorers5000   Now I notice that the URL to both the style sheet...   Aug 9 2011, 10:46 AM
Frederiek   The labels, which are styled in popup-contact.css,...   Aug 9 2011, 11:22 AM
explorers5000   The labels, which are styled in popup-contact.css...   Aug 9 2011, 11:27 AM
explorers5000   The labels, which are styled in popup-contact.css...   Aug 9 2011, 11:38 AM
explorers5000   The labels, which are styled in popup-contact.css...   Aug 9 2011, 11:43 AM
explorers5000   i have just tried adding !important but the fo...   Aug 9 2011, 11:26 AM
Frederiek   You're welcome. You could get rid of the font...   Aug 9 2011, 11:54 AM
Frederiek   Our posts overlapped. Just add he color to #conta...   Aug 9 2011, 11:57 AM
explorers5000   Our posts overlapped. Just add he color to #cont...   Aug 9 2011, 12:28 PM
pandy   I'm confused now. If the popup form doesn...   Aug 9 2011, 12:29 PM
explorers5000   I'm confused now. If the popup form doesn...   Aug 9 2011, 02:53 PM
Frederiek   In fact, I think a successful submission of the f...   Aug 10 2011, 02:20 AM
pandy   Sure it did. The OP said it doesn't render for...   Aug 10 2011, 03:55 AM
explorers5000   In fact, I think a successful submission of the ...   Aug 10 2011, 07:58 PM
Frederiek   I assume you got the script from http://www.html-f...   Aug 11 2011, 03:49 AM
explorers5000   I assume you got the script from http://www.html-...   Aug 11 2011, 10:56 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 10:48 AM