4 replies [Last post]
OPTAdmin
Offline
Enthusiast
Dover, OH -- Soon to be Columbus, OH
Last seen: 15 years 19 weeks ago
Dover, OH -- Soon to be Columbus, OH
Joined: 2004-07-27
Posts: 108
Points: 0

Is it possible to make the background fixed in IE?

Example (works in Firefox): http://www.ohiopreptalk.com/template/template.htm

I basically just want the left curvy things to not scroll when I scroll down the screen.

I am going to be attending The Ohio State University this fall as an incoming freshman, majoring in Computer Science and Engineering.

Go Bucks!

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 16 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

Background fixed problem in IE

Certainly. Replace

<body style="background-image:url('http://www.ohiopreptalk.com/template/side.GIF');background-repeat:repeat-y;background-attachment:fixed">

with

<body style="background: #FFF url('http://www.ohiopreptalk.com/template/side.GIF') repeat-y fixed top left">

You can change top-left to middle left and even bottom left for a slightly different effect.

Verschwindende wrote:
  • CSS doesn't make pies

OPTAdmin
Offline
Enthusiast
Dover, OH -- Soon to be Columbus, OH
Last seen: 15 years 19 weeks ago
Dover, OH -- Soon to be Columbus, OH
Joined: 2004-07-27
Posts: 108
Points: 0

Background fixed problem in IE

Thanks!

Strangely enough, I had the body formatted in the HTML, and then formatted again in the CSS.

I am going to be attending The Ohio State University this fall as an incoming freshman, majoring in Computer Science and Engineering.

Go Bucks!

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 1 year 16 weeks ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

Background fixed problem in IE

Doh!

Well as long as it's working. It's easiest to format it in the css. Just use

body { blah
}

But I guess you already knew that.

Verschwindende wrote:
  • CSS doesn't make pies

OPTAdmin
Offline
Enthusiast
Dover, OH -- Soon to be Columbus, OH
Last seen: 15 years 19 weeks ago
Dover, OH -- Soon to be Columbus, OH
Joined: 2004-07-27
Posts: 108
Points: 0

Background fixed problem in IE

Exactly, that's what I did.

Thanks though!

I am going to be attending The Ohio State University this fall as an incoming freshman, majoring in Computer Science and Engineering.

Go Bucks!