Need help creating a survey popup on page load

I have a website on which I want add a 4 questions survey pop up…

What would be the easiest way to do it for a newbie.

Thank you!

Exactly like this:

http://www.compactcat.ca/promo.html

I think I am amost there but it looks like there is a problem with the CSS files?

http://www.promotionshewitt.ca/loc/test/index.html

Withtout any CSS it work perfectly:
http://www.promotionshewitt.ca/loc/test/index.html

with my CSS file it does’t:
http://www.promotionshewitt.ca/loc/test/index2.html

I can’t figure out why :frowning:

Any help will be appreciated!

Thanks in advance!

In which language you are working for popup survey so that I can give you proper guideline?

Thanks for your reply.

Please check the links in my previous post… you will see the code.

Hi vertlime, have you got this sorted as it looks like it works fine now?

Hi spike!

No!!! I can’t figure out my problem…

http://www.promotionshewitt.ca/loc/test/index.html
http://www.promotionshewitt.ca/loc/test/index2.html

the first one is almost there, except that my CSS is gone… the second one my CSS is there but my content behind is gone…

I wish I be good at this…

ok, the problem is in your CSS file. You have:



* {    
         background-image: url(images/bg.jpg);   
         background-repeat: repeat-x;  
         margin: 0px;
}

Which tells the browser that EVERY element should have the background image applied to it - * is EVERYTHING…headings, divs, lists, iframes -> everything!
So your content was there before it was ‘overwritten’ by the * css rule.
Change it to target just the <body> tag:


body {    
         background-image: url(images/bg.jpg);    
         background-repeat: repeat-x;    
         margin: 0px;
}

try that.

You are my hero!!!

I will try this now!

I will let you know!

It works just great!!!

Many many thanks! I really appreciated your help.

You are welcome :slight_smile: