1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

where to insert code for fixed pic

Discussion in 'Web Design & Development' started by icejam, Aug 10, 2006.

Thread Status:
Not open for further replies.
  1. icejam

    icejam Thread Starter

    Aug 10, 2006
    attempting to build a web site, uploading via Nvu, i wish to have a FIXED pic on the 2nd. page and scroll the words OVER the pic, i was given this code
    <BODY background="bgimage.gif" bgproperties="fixed">
    but i'm not sure where to insert it, maybe the beginning, the end, both, ??????????????? .................much appreciated
  2. namenotfound


    Apr 30, 2005
    Replace your current <body> tag in the page with it, located near the top of the page.

    You're only allowed to have 1 <body> tag per page, so replace the one that's currently there, rather than just adding a second.

    The page structure should look something like this:

  3. Rockn


    Jul 29, 2001
    Use CSS to do this correctly. Put this in the head of your page:

    <style type="text/css">
    body {
    background-attachment: fixed;
    background-image: url(whatever.jpg);.....your image
    background-repeat: no-repeat;
    background-position: center center;
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/491289

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice