HTML questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amanda27
    New Member
    • Nov 2006
    • 38

    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.
    Thanks
    code:
    <input name=" Submit " type="submit" onClick="MM_val idateForm('Date of Request','','R' ,'Name of Requestor','',' R','Email of Requestor','',' RisEmail','Desc ription','','R' ); MM_popupMsg('Th ank You, you will be contacted by an team member within the next 24 hours to confirm your request.');retu rn document.MM_ret urnValue" value="Submit">
  • sassygray5
    New Member
    • Jul 2007
    • 5

    #2
    as for the first question....

    are you using css??

    <style type="text/css">

    body
    { 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]

    </style>

    where it says background-attachment: put fixed

    Comment

    Working...