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 wants a

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' property is

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

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

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 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]

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 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't show

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