...

View Full Version : 2 Questions



shaun
06-22-2002, 06:53 PM
1. I been testing my Background out to put on one of my Forums but it keeps Tileing. What do I put with the Baground tag that makes it not Tile?

2. I'm trying to make a from From scratch but don't know how.
Can anybosy help me, Well I knoe how to add all the fields but I don't know how to do it so it Submits staright to my E-Mail box.

Thanks
Shaun.

waps
06-22-2002, 07:17 PM
For your first question put this is your <body> tag.

style="background-repeat:no-repeat"

For your second you can put action="mailto:yourname@yourmail.com" in the form tage or you can a script e.g. CGI and link it to your form.

Hope that helps

:thumbsup:

P.S For your first question you might find putting this in there two useful. It keeps your image static while your page is scrolled.

background-attachment:fixed

shaun
06-22-2002, 07:25 PM
Thanks mate.

I know about the fixed thing :thumbsup:

Abd thanks for the Form help...I was looking everywere.

shaun
06-22-2002, 07:27 PM
Oh and whatever form field I add will it submit them all?

Jeewhizz
06-22-2002, 07:59 PM
Yes.. But this will only work if the user has email set up properly on their computer (not many), and they are also given the choice of sending it...

The better way is to use a serverside form. Do you have access to any serverside langauges? PHP? ASP? CGI/Perl?

Jee

shaun
06-22-2002, 08:17 PM
Originally posted by Jeewhizz
Yes.. But this will only work if the user has email set up properly on their computer (not many), and they are also given the choice of sending it...

The better way is to use a serverside form. Do you have access to any serverside langauges? PHP? ASP? CGI/Perl?

Jee

What do you mean.

BTW - How do I center a BG Image?

La Gal
06-22-2002, 09:00 PM
To center bg image try this:

style=" background-image:url(‘wombat.gif’);background-repeat:no-repeat;background-position:center"

To center it horizontally only try:

background-position:left center;

Or you could declare it in your style sheet:

body
{
background-image: url(wombat.gif);
background-repeat: no-repeat;
background-position: center
}

The background property is not inherited, so this would only apply to tag you apply it to e.g. body or p

whackaxe
06-22-2002, 09:12 PM
something that is quite naff about the mailto form is that when i tried it it poped up this big intimidating message saying that form was about to leave my message box and that it could contain sensitive info. the best is really to use a free form-2-email like at www.bravenet.com

shaun
06-23-2002, 10:01 AM
I get that supid Alert saying this is a E-Mail form thing and something about Policy...HELP>>

whackaxe
06-23-2002, 03:51 PM
thats what i ws tellign you! its even worse than that , if you have a mountain of e-mails piling upin your outbox then your form will get sent after them when the user clicks on send/recieve or whatever. learn PHP and be forever at rest from questions like these



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum