Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-22-2002, 05:53 PM   PM User | #1
shaun
New Coder

 
Join Date: Jun 2002
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
shaun is an unknown quantity at this point
2 Questions

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.
shaun is offline   Reply With Quote
Old 06-22-2002, 06:17 PM   PM User | #2
waps
New Coder

 
Join Date: Jun 2002
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
waps is an unknown quantity at this point
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



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
waps is offline   Reply With Quote
Old 06-22-2002, 06:25 PM   PM User | #3
shaun
New Coder

 
Join Date: Jun 2002
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
shaun is an unknown quantity at this point
Thanks mate.

I know about the fixed thing

Abd thanks for the Form help...I was looking everywere.
shaun is offline   Reply With Quote
Old 06-22-2002, 06:27 PM   PM User | #4
shaun
New Coder

 
Join Date: Jun 2002
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
shaun is an unknown quantity at this point
Oh and whatever form field I add will it submit them all?
shaun is offline   Reply With Quote
Old 06-22-2002, 06:59 PM   PM User | #5
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
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
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Old 06-22-2002, 07:17 PM   PM User | #6
shaun
New Coder

 
Join Date: Jun 2002
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
shaun is an unknown quantity at this point
Quote:
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?
shaun is offline   Reply With Quote
Old 06-22-2002, 08:00 PM   PM User | #7
La Gal
New Coder

 
Join Date: Jun 2002
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
La Gal is an unknown quantity at this point
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
La Gal is offline   Reply With Quote
Old 06-22-2002, 08:12 PM   PM User | #8
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
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
__________________
photoshop too expensive? use the GIMP! www.gimp.org
whackaxe is offline   Reply With Quote
Old 06-23-2002, 09:01 AM   PM User | #9
shaun
New Coder

 
Join Date: Jun 2002
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
shaun is an unknown quantity at this point
I get that supid Alert saying this is a E-Mail form thing and something about Policy...HELP>>
shaun is offline   Reply With Quote
Old 06-23-2002, 02:51 PM   PM User | #10
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
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
__________________
photoshop too expensive? use the GIMP! www.gimp.org
whackaxe is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:32 PM.


Advertisement
Log in to turn off these ads.