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 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,
but meanwhile he doesn't stop writing code, waiting for it.

Emanuele

Il 06/06/2013 19:12, David Hucklesby ha scritto:
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 and found this unfamiliar thing:

background: url("#") 100px 50px no-repeat;

Can someone tell me what 'url("#")' means?

I'm confused. Why would you use a background url like this for a menu
item?
If you are now talking about the href attribute of an <a> element, that's
something else entirely, surely?

FWIW you may like to know that an href attribute of "#" actually works
as a
"return to top" link - at least, in all the browsers I tried it in.
But that's HTML, not CSS. (Slaps self on wrist.)


--
David
[email protected]
authenticity, honesty, community
http://dancingtreefrog.com
http://clanjones.org/david/
http://dancing-treefrog.deviantart.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to