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

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

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

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

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

 

Override background image

 
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 >> Override background image
Page: [1]
 
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
Override background image - 7/7/2006 10:52:05   
In the accessibility settings in IE one can choose to use one's own stylesheet. I am experimenting with that, but can't seem to get beyond one annoyance with background images. My stylesheet specified a background image as so:

body {
background-image: url(back_white.jpg);

If the page I am trying to view has a background image, it trumps my stylesheet. At first I thought it was because the page I was viewing set the image in the html, not css, i.e., <body background="/icons/3.jpg">. However, I started changing the page by setting the image using inline CSS. Still no luck. I then got rid of the inline CSS and set the image in the head of the document. Still no luck. Finally, I moved the background declaration into a stylesheet. Alas, still no luck.

Any one have any ideas? I am trying to code the background images on our site so that a user could override them with his/her own stylesheet.

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Override background image - 7/7/2006 11:54:22   
I may be wrong here but I think you'll find an image is assumed to be part of the page content. Colours and fonts etc are assumed styles and therefore changeable.

I wouldn't spend too much time playing around with it unless you're using IE7 and know that it works the same way.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to BeTheBall)
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: Override background image - 7/7/2006 12:20:17   
Thanks jaybee, that was what I was finding but thought perhaps I was missing something. Maybe I will attach a little javascript that will allow a user to suppress the background by clicking a link.

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to jaybee)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Override background image
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