Re: [css-d] what is transparent url

2008-05-31 Thread Gunlaug Sørtun
Rob freeman wrote: > but why declare this? isnt this set as a default.. Yes, it is - or at least should be. No harm in spelling it out though, and I do so routinely. In some cases a set of stylesheets includes "reset" styles that contain colored background, and other times certain elements are gi

Re: [css-d] what is transparent url

2008-05-31 Thread Rob freeman
but why declare this? isnt this set as a default.. 2008/5/31 Gunlaug Sørtun <[EMAIL PROTECTED]>: > Rob freeman wrote: >> >> hello everyone, I have come across a few sites that have code: >> background:transparent url(/img/filename.gif) >> >> What is the transparent element for? > > The 'background

Re: [css-d] what is transparent url

2008-05-31 Thread Gunlaug Sørtun
Rob freeman wrote: > hello everyone, I have come across a few sites that have code: > background:transparent url(/img/filename.gif) > > What is the transparent element for? The 'background' property is short for both 'background-color' and 'background-image', so such a declaration says s/he want

[css-d] what is transparent url

2008-05-31 Thread Rob freeman
hello everyone, I have come across a few sites that have code: background:transparent url(/img/filename.gif) What is the transparent element for? -- Rob Freeman [EMAIL PROTECTED] __ css-discuss [EMAIL PROTECTED] http://www.css

Re: [css-d] What is "transparent url"

2005-08-05 Thread Jan Brasna
Despite 5 people saying it, this is actually technically incorrect, and the difference (although minor) is probably worth pointing out. Great point, David. -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com __

RE: [css-d] What is "transparent url"

2005-08-05 Thread Dean Matsueda
> Despite 5 people saying it, this is actually technically > incorrect, and the difference (although minor) is probably > worth pointing out. Indeed and glad you've clarified. But for someone just beginning to learn CSS, would it help to distill it down to: But be careful with using shorthand

Re: [css-d] What is "transparent url"

2005-08-05 Thread L. David Baron
On Friday 2005-08-05 14:55 -0700, Dean Matsueda wrote: > > background: transparent url(filename). > > This is a shorthand method for writing CSS rules. This rule has > multiple values, that are space-separated. The first value sets the > background color to transparent; the second value is the s

Re: [css-d] What is "transparent url"

2005-08-05 Thread Christian Heilmann
On 8/5/05, Tek <[EMAIL PROTECTED]> wrote: > I am just learning css and I have been working with adding a > background image to a cell. well really I'm reading eric meyer on css > and I find css that reads: > > background: transparent url(filename). > > When I do this in Dreamweaver the code doesn

Re: [css-d] What is "transparent url"

2005-08-05 Thread Matthew Ohlman
Tek wrote: I am just learning css and I have been working with adding a background image to a cell. well really I'm reading eric meyer on css and I find css that reads: background: transparent url(filename). When I do this in Dreamweaver the code doesn't show this "tranparent url". Can someone

Re: [css-d] What is "transparent url"

2005-08-05 Thread Jan Brasna
background: transparent url(filename). It's a shortcut of: background-color: transparent; background-image: url(filename); -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com __ css-discuss [EMAIL PROTECTED] ht

RE: [css-d] What is "transparent url"

2005-08-05 Thread Duckworth, Nigel
> background: transparent url(filename). That's shorthand. Transparent is the background color, the url is the path to the background image. In longhand it's: background-color: transparent; background-image: url(filename); -Nigel __

RE: [css-d] What is "transparent url"

2005-08-05 Thread Dean Matsueda
> background: transparent url(filename). This is a shorthand method for writing CSS rules. This rule has multiple values, that are space-separated. The first value sets the background color to transparent; the second value is the server path or URL where the browser can find the image. The same

[css-d] What is "transparent url"

2005-08-05 Thread Tek
I am just learning css and I have been working with adding a background image to a cell. well really I'm reading eric meyer on css and I find css that reads: background: transparent url(filename). When I do this in Dreamweaver the code doesn't show this "tranparent url". Can someone explain why t