a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Fixed page bg in CSS

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Fixed page bg in CSS
Page: [1]
 
fade2black

 

Posts: 61
Joined: 5/11/2004
From: England, but now living in Southern Spain
Status: offline

 
Fixed page bg in CSS - 5/29/2005 11:13:17   
Hi, I am trying to keep my page background fixed from within the CSS file. Tried the following and other combinations:

body { background-image: url('images/gifs/bg.gif');
bgproperites="fixed";
color: #333333; background-color: #FFFFFF;
}

Also tried, background="fixed" and bg properites="fixed"

If I add the following to the page HTML itself then it works.
<body bgproperties="fixed">

Hope somebody can help.

Thanks
Fade...
Donkey

 

Posts: 3929
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: Fixed page bg in CSS - 5/29/2005 11:17:34   
try
 body{
 background-image: url('images/gifs/bg.gif'); 
color: #333; background-color: #FFF;  
 background-attachment:fixed;
  }

Works in all main browsers.



_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to fade2black)
fade2black

 

Posts: 61
Joined: 5/11/2004
From: England, but now living in Southern Spain
Status: offline

 
RE: Fixed page bg in CSS - 5/30/2005 4:10:14   
Yes, that's got it. Thank you very much.
Fade...

(in reply to Donkey)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Cascading Style Sheets and Accessibility >> Fixed page bg in CSS
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts