Code blocks are created by indenting at least 4 spaces
... and can span multiple lines

==============mycode================================

<style type="text/css">
body {
background-image:url(modern1.jpg);
background-attachment:fixed;
background-position:center center;
background-repeat:no-repeat
}
</style>
</head>

<body>
fasdfasd
</body>

pls help. all i want is fixe background even to scroll or anything
like this page.. http://www.teletech.com/
how to code the background????

Recommended Answers

Hi,

I tested your code, and it works. The background image remains fixed in the center of the page, evean when scroll.

Jump to Post

All 2 Replies

plss help to my project :( newbie here

Hi,

I tested your code, and it works. The background image remains fixed in the center of the page, evean when scroll.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.