Do you have an example of it not working? It seems to work fine for me. Any page I've used it in, it defaults the URL to whatever the current scheme/protocol is (http or https), and it is a commonly used method to avoid embedding http resources into an https page (and causing security warnings).
Thanks, Mac On Wed, Jul 27, 2011 at 10:21 AM, <[email protected]> wrote: > This doesn't work. Looks like a copy/paste job from an example or > blog. If someone really put this in a live page, this is hysterical. > > -- Cole > > Quoting Wade Preston Shearer <[email protected]>: > >> Looking at the source code for a site, I saw this: >> >> <link rel="stylesheet" type="text/css" media="all" >> href="//example.com/path/to/stylesheet.css" /> >> >> >> What is that? How can you do an absolute path with the http:// ? >> >> _______________________________________________ >> >> UPHPU mailing list >> [email protected] >> http://uphpu.org/mailman/listinfo/uphpu >> IRC: #uphpu on irc.freenode.net >> > > > > _______________________________________________ > > UPHPU mailing list > [email protected] > http://uphpu.org/mailman/listinfo/uphpu > IRC: #uphpu on irc.freenode.net > -- Mac Newbold [email protected] 801-694-6334 _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
