Click to See Complete Forum and Search --> : Absolute beginner


domuk
05-22-2003, 10:23 AM
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.

Jona
05-22-2003, 10:41 AM
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.

domuk
05-22-2003, 11:18 AM
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>

Jona
05-22-2003, 11:25 AM
That's perfect. That should do fine.

domuk
05-22-2003, 04:22 PM
thanks,

got it working,

dom..


:rolleyes: