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.)
--
Emanuele Venezia
Politecnico di Torino - Area IT
Corso Duca degli Abruzzi, 24
10129 Torino
Tel. 011 090 6735
______________________________________________________________________
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/