www.webdeveloper.com
Results 1 to 5 of 5

Thread: Absolute beginner

  1. #1
    Join Date
    May 2003
    Posts
    94

    Absolute beginner

    Please could someone out there tell this novice how to make your web page content (test and jpgs) scroll over a background picture (whilst the background jpg remains fixed).
    I have tried to implement “ CSS:
    background-attachment: fixed; (thanks Adam and Asch)“ but I still can not get it working.

    I have very little experience of HTML and javascript (3 days), however have used C and pascal in the past.

    I tend to learn by example and am grappling with syntax rules and structure at present.

    Is there a list of commands and what they do on the net?

    Also what is the best editing tool for html?

    Thanks,

    Dom.

  2. #2
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    Make sure it's in <style> tags, and like this: body {background-attachment: fixed;} and then close the style tags with </style>. Also, I don't think this works in Netscape so make sure you're using Internet Explorer.
    Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.

  3. #3
    Join Date
    May 2003
    Posts
    94
    thanks jona,

    I already have style tags included in my html doc.

    can i use inside these or do i have to make a new set?

    eg:

    <TITLE> etcetc </TITLE>


    <style type="text/css">
    <!--
    A:link {text-decoration:none; color="3cc00"}
    A:visited {text-decoration:none; color="3cc00"}
    A:hover { text-decoration: none; color="ff33cc" }


    body {background-attachment: fixed;}


    -->
    </style>

    <body>


    sorry i said that i was a beginner

    dom..





    </body>

  4. #4
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    That's perfect. That should do fine.
    Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.

  5. #5
    Join Date
    May 2003
    Posts
    94
    thanks,

    got it working,

    dom..



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles