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
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
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; }
.
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
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
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
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
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:
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
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
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
11 matches
Mail list logo