change Firefox 2 background!
-
- Guest
change Firefox 2 background!
I was wondering if anyone knew how to change the background of Mozilla Firefox 2 to show a picture??
Please help.
Please help.
- dickvl
- Posts: 54145
- Joined: July 18th, 2005, 3:25 am
- dickvl
- Posts: 54145
- Joined: July 18th, 2005, 3:25 am
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/
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/
- dickvl
- Posts: 54145
- Joined: July 18th, 2005, 3:25 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
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;}}
-
- Posts: 0
- Joined: December 31st, 1969, 5: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
In userContent.css
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; }}
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 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.
- RaiseMachine
- Posts: 1764
- Joined: December 6th, 2004, 6:05 pm
- Location: England
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
"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
- RaiseMachine
- Posts: 1764
- Joined: December 6th, 2004, 6:05 pm
- Location: England