Re: [css-d] unfamiliar url reference

2013-06-07 Thread Jukka K. Korpela
2013-06-07 11:49, Philippe Wittenbergh wrote: Hmm, you're missing something: in both your examples the whole rule block will be ignored (being invalid, e.a. Whereas in my example, the other parameters (position/size/color/repeat/...) are applied and remembered. The examples referred to differe

Re: [css-d] unfamiliar url reference

2013-06-07 Thread Philippe Wittenbergh
Le 7 juin 2013 à 17:27, "Jukka K. Korpela" a écrit : > But url(#) does not do any good there either, and should be removed. > > If you use background: url(#) with the intent of later replacing # by the > real URL, the style sheet will pass CSS validation even if you forget to do > the replace

Re: [css-d] unfamiliar url reference

2013-06-07 Thread Jukka K. Korpela
2013-06-07 11:13, Philippe Wittenbergh wrote: The '#' is a perfectly valid url so any decent browser will recognise the rule block. That exactly is the problem with it. It passes CSS validation, but it will not work. Something like this: .a { background: url(#) 20px 20px no-repeat; } .

Re: [css-d] unfamiliar url reference

2013-06-07 Thread Philippe Wittenbergh
Le 7 juin 2013 à 16:58, david a écrit : > It might also be a placeholder dynamically filled in by some Javascript on > the page. Yeah, I had the same thought: * the stylesheet author sets the main parameters using the background-shorthand * in another stylesheet, or later down in the same styl

Re: [css-d] unfamiliar url reference

2013-06-07 Thread david
It might also be a placeholder dynamically filled in by some Javascript on the page. On 06/06/2013 08:08 PM, Emanuele Venezia wrote: Hi David, I think John meant that, while he's writing the code he doesn't know what the name of the image will be, or the complete path, so he just puts a #, with

Re: [css-d] unfamiliar url reference

2013-06-06 Thread Emanuele Venezia
Hi David, I think John meant that, while he's writing the code he doesn't know what the name of the image will be, or the complete path, so he just puts a #, with no effect on css (no image found = no image shown). When the image will be ready to be shown he will replace the # with its URL, bu

Re: [css-d] unfamiliar url reference

2013-06-06 Thread David Hucklesby
On 6/6/13 9:01 AM, John D wrote: I agree with Tom Livingstone. When someone is writing the code, he/she didn't have the exact URL reference so a # sign is palced to later replace it with the correct URL. I do it all the time when writing code for Menus. I'm picking up someone else's code a

Re: [css-d] unfamiliar url reference

2013-06-06 Thread John D
I agree with Tom Livingstone. When someone is writing the code, he/she didn't have the exact URL reference so a # sign is palced to later replace it with the correct URL. I do it all the time when writing code for Menus. > I'm picking up someone else's code and found this unfamiliar thing:

Re: [css-d] unfamiliar url reference

2013-06-06 Thread Barney Carroll
The # symbol in a URL indicates content within a resource - it is most often used to jump to content. For example, the following link will take you to the wikipedia page URI_scheme and scroll down to focus on the element with an ID of Generic_syntax: en.m.wikipedia.org/wiki/URI_scheme#Generic_syn

Re: [css-d] unfamiliar url reference

2013-06-06 Thread Tom Livingston
On Thu, Jun 6, 2013 at 9:54 AM, Chip at Caliber Communications wrote: > I'm picking up someone else's code and found this unfamiliar thing: > > background: url("#") 100px 50px no-repeat; > > Can someone tell me what 'url("#")' means? > > Thanks much. > > Chip To me, it is a placeholder charact

[css-d] unfamiliar url reference

2013-06-06 Thread Chip at Caliber Communications
I'm picking up someone else's code and found this unfamiliar thing: background: url("#") 100px 50px no-repeat; Can someone tell me what 'url("#")' means? Thanks much. Chip __ css-discuss [css-d@lists.css-discuss.org] http://w