MozillaZine

change Firefox 2 background!

User Help for Mozilla Firefox
ITALIan pride
Guest
 

Post Posted March 3rd, 2007, 9:17 am

I was wondering if anyone knew how to change the background of Mozilla Firefox 2 to show a picture??

Please help.

dickvl

User avatar
 
Posts: 51411
Joined: July 18th, 2005, 3:25 am

Post Posted March 3rd, 2007, 6:59 pm


ITALian pride
Guest
 

Post Posted March 5th, 2007, 8:43 am

that helped me change the color, but not set a image as the firefox background. any more suggestions?

dickvl

User avatar
 
Posts: 51411
Joined: July 18th, 2005, 3:25 am

Post Posted March 5th, 2007, 12:17 pm

Where exactly do you want that background to appear?

Can you illustrate that with a screenshot? (use a .png or .jpg file)
If you need a place to host a screenshot, look at http://www.imageshack.us/

ITALian pride
Guest
 

Post Posted March 17th, 2007, 7:35 pm

its a jpeg image that has the firefox eating ie and i want it as the background of the firefox browser

dickvl

User avatar
 
Posts: 51411
Joined: July 18th, 2005, 3:25 am

Post Posted March 18th, 2007, 8:03 am

You still have told where you want that background to appear: in the browser area or in the navigator-toolbox (menu bar, nav bar , pers. toolbar).

italian pride
Guest
 

Post Posted March 23rd, 2007, 9:01 pm

Ohh, my bad. I want the image to appear as the background of the browser. Like instead of a white screen when you go to a different website, i want the picture to be the default background.

Thanks for your help by the way :)

dickvl

User avatar
 
Posts: 51411
Joined: July 18th, 2005, 3:25 am

Post Posted March 24th, 2007, 7:09 am

I couldn't get it to work on about:blank
Error Console shows:
Security Error: Content at about:blank may not load or link to file:///...../chrome/sky.png
Code: Select all
@-moz-document url(about:blank) {body {background-image: url("sky.png") !important;}}

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted March 24th, 2007, 2:00 pm

I've tried this before and can't find a way to get an image to work. I also had another forum member look at it who is very good at CSS and he couldn't figure it out either. The best I could come up with is changing the background color.

In userChrome.css

Code: Select all
/* Blank background before clicked link page loads...
see userContent.css for blank tab and startup blank
before homepage loads */
tabbrowser tabpanels {
background-color: rgb(220, 220, 220) !important;
}


In userContent.css

Code: Select all
/* Background for blank tab and Firefox startup blank page
before homepage loads...
see userChrome.css for background before clicked link page loads */
@-moz-document  url(about:blank) {
html {
  background-color: rgb(220, 220, 220) !important; }}

dickvl

User avatar
 
Posts: 51411
Joined: July 18th, 2005, 3:25 am

Post Posted March 24th, 2007, 2:22 pm

If it is a security issue then you need a CAPS expert.

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted March 24th, 2007, 2:32 pm

dickvl wrote:If it is a security issue then you need a CAPS expert.

I believe thats the issue. Firefox not being allowed to access your hard drive to display web content or allow a hacker to access your files or something like that. I'm fine with the background color hack. It tones down the bright white at least. Maybe the OP needs something more than that.

dickvl

User avatar
 
Posts: 51411
Joined: July 18th, 2005, 3:25 am

Post Posted March 24th, 2007, 2:48 pm

I'm also using the background version with #f0f0f0.
And also: #configTreeBody {background-color: #f0f0f0 !important;}

RaiseMachine

User avatar
 
Posts: 1760
Joined: December 6th, 2004, 6:05 pm
Location: England

Post Posted March 24th, 2007, 4:03 pm

This is what I use:
Code: Select all
@-moz-document url("about:blank") { * {
    background: url("background.jpg"); // Change this to an image of your choice that resides in your Profile/Chrome folder, although any other path is OK, including eg. file://C:/Images/Image.png
    margin: 0px;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}}
"Doesn't the idea of making nature against the law seem to you a bit... unnatural ?" - Bill Hicks
"Money is the Schrodinger's Cat of economics." - Robert Anton Wilson
"It's not a bug, it's two features having a fight in the pub car-park." - Me

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted March 25th, 2007, 2:25 am

^^It doesn't work for me.

RaiseMachine

User avatar
 
Posts: 1760
Joined: December 6th, 2004, 6:05 pm
Location: England

Post Posted March 25th, 2007, 9:27 am

Check the path you've used for the image. The code works.
"Doesn't the idea of making nature against the law seem to you a bit... unnatural ?" - Bill Hicks
"Money is the Schrodinger's Cat of economics." - Robert Anton Wilson
"It's not a bug, it's two features having a fight in the pub car-park." - Me

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 21 guests