469,631 Members | 1,832 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

HTML questions

1. How do you go about putting a picture in the background that stays there no matter if you scroll up or down.
2. Ist there anyway to put an image in a web page in which you don't have to have the message within the folder for the person to be able to see the image (still referring to the background).
3. If I have the javascript listed below but I don't want it to put the Thank you message up until it has validated the fields. How do I do that?
Right now it validate fields but still gives the thank you message even though it's not submitting the form yet.
<input name=" Submit " type="submit" onClick="MM_validateForm('Date of Request','','R','Name of Requestor','','R','Email of Requestor','','RisEmail','Description','','R'); MM_popupMsg('Thank You, you will be contacted by an team member within the next 24 hours to confirm your request.');return document.MM_returnValue" value="Submit">
Jul 19 '07 #1
1 912
as for the first question....

are you using css??

<style type="text/css">

{ background-image: url(URL HERE);
background-repeat: value; [repeat, no-repeat, repeat-x, repeat-y]
background-position: valueI valueII; [valueI: top, center, bottom, percentage, pixel number]
[valueII: right, center, left, percentage, pixel number]
background-attachment: value; [scroll, fixed]


where it says background-attachment: put fixed
Jul 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.