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:

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

Withtout any CSS it work perfectly:

with my CSS file it does’t:

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…

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: