Re: [css-d] calling an image from within the CSS

2007-01-20 Thread Eric A. Meyer
At 6:54 AM -0700 1/19/07, Michael Stevens wrote: Being curious I visited that page and it did indeed have the properties listed in the order: ['background-color' || 'background-image' || 'background-repeat' || 'background-attachment' || 'background-position'] But, at the bottom of that property

[css-d] calling an image from within the CSS

2007-01-19 Thread Kevin J Pledger
Hi All, One the page in the link, www.oneyed.com/mt . I want to be able to make that image as background in #banner within the CSS file so its the same on all pages. After looking at various pages and trying to understand the different types of coding, I put in this line ( background :

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Rick den Haan
Kevin J Pledger wrote: One the page in the link, www.oneyed.com/mt . I want to be able to make that image as background in #banner within the CSS file so its the same on all pages. After looking at various pages and trying to understand the different types of coding, I put in this line (

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Nick Mavros
Kevin J Pledger wrote: ... After looking at various pages and trying to understand the different types of coding, I put in this line ( background : url(images/mt2.jpg) #fff; ) and as I thought it wasnt visible. When the #fff is removed the image appears, but breaks the page. I want to be

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Kevin J Pledger
Rick den Haan wrote: The background CSS property is a culmination of several individual properties. Does it work if you set those separately? I.e.: background-image: url(images/mt2.jpg); background-color: #fff; background-position: top center; background-repeat: no-repeat; If you want to put

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Kevin J Pledger
Nick Mavros wrote ... I think this is the correct structure background: #fff url(images/mt2.jpg) no-repeat top left; The #fff is the background color If you don't place the no-repeat then the img will repeat in both axes. You can also use repeat-x or repeat-y if you want it to repeat in an axis.

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Nick Mavros
Kevin J Pledger wrote: Nick, Tried this and white background disappeared and still no image. Very frustrating .. Will keep on reading and trying. Thanks for your input. One always keeps learning.. Regards, Kevin Maybe you got the url wrong. The url you are using

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Rick den Haan
Kevin J Pledger wrote: Rick den Haan wrote: See http://www.w3.org/TR/CSS201/colors.html#propdef-background for more information. Tried the link you give and get *The URL path in your request doesn't match anything we have available.* My bad.

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Kevin J Pledger
-Original Message- From: Nick Mavros [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 18:40 PM To: Kevin J Pledger Cc: 'Css-D Lists' Subject: Re: [css-d] calling an image from within the CSS Kevin J Pledger wrote: Nick, Tried this and white background disappeared and still

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Kevin J Pledger
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick den Haan Sent: Friday, January 19, 2007 19:07 PM To: 'Css-D Lists' Subject: Re: [css-d] calling an image from within the CSS Kevin J Pledger wrote: Rick den Haan wrote: See http://www.w3.org/TR

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Rick den Haan
Kevin J Pledger wrote: I had tried that already but the minute I try that the code goes from this: #banner { background-color: #fff; background-image: url(images/mt2.jpg); background-repeat: no-repeat; background-position: top center; height:75px;

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Kevin J Pledger
place. My thanks to you and Nick for your patience. Kind Regards, Kevin. _ From: Rick den Haan [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 19:37 PM To: Kevin J Pledger Cc: 'Css-D Lists' Subject: Re: [css-d] calling an image from within the CSS Kevin J Pledger wrote: I

Re: [css-d] calling an image from within the CSS

2007-01-19 Thread Michael Stevens
Being curious I visited that page and it did indeed have the properties listed in the order: ['background-color' || 'background-image' || 'background-repeat' || 'background-attachment' || 'background-position'] But, at the bottom of that property the example is given: P { background: