Check this out - a wine perfect for vegetarians! Gruner Veltliner
There's supposed to be an umlaut over the "u" - what is the HTML code of an umlaut? (Rummaging around in the Internet . . .) Ah, it's
& Uuml; (no space) for Ü
So, now we have Grüner Veltliner. Anyway, it's a very light, fresh-tasting white. According to the nice folk at winepros.org:
Grüner Veltliner is perhaps the single most versatile food wine in the world, often surpassing even Riesling because of its ability to pair with "difficult" foods such as artichokes and asparagus.
Except for an occasional dessert wine made from botrytis-affected grapes, Grüner Veltliner is usually a full-bodied dry wine (up to 14% alcohol) with a firm mineral backbone, giving it the strength of character to work well with many cuisines. It is especially well suited to modern cooking that focuses on the fresh flavor of local ingredients and the variety is eagerly being embraced by creative chefs and innovative sommeliers around the world.
They compare it to a Riesling, which interests me, because I love Rieslings, and I love un-oaked whites - like Grüner Veltliner.
Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts
Wednesday, June 18, 2008
Thursday, October 4, 2007
"Find and Replace" Stupidity
Sometimes my dumb mistakes are so dumb as to make me laugh.
I've always used target="_blank" in my HTML to make a link open in a new window. I like my links to external sites to open in a new window keeping my site open for the user. I think with our assumed audience that's a good idea.
But the Gardening Solutions site uses XHTML Strict, and target=_blank is apparently a no-no in XMTML Strict. Your code will not validate if you're using it. Say what you will about the purity of validation versus "the page works, why fix it?", I'm trying to play by the rules of the huge institution for which I work. I noticed the web guy who built many of these pages that I inherited used rel="external" and that seemed to work, so I did a handy-dandy search and replace and did the good-doobie thing - I replace any mention of target="_blank" with rel="external" -- not really knowing how it worked.
Guess what - now it wasn't working at all! Opening my site in IE7, I found that none of my links were opening in new windows, not even ones that had previously worked before my little s'n'r - ack!
So after a little research, I realized that rel=external only works with a little Javascript workaround (I know nothing of Javascript). I open up the file called external.js and compare the code to one I found on webmasterworld.com. (Which rocks, by the way.)
It was looking correct until one line. The correct code had:
anchor.rel="external";
My code had:
anchor.target="_blank";
My search and replace had replaced it everywhere - including the one place I needed the "wrong" code.
What makes this even more stupid is I had done the exact same thing with another piece of code a few day ago!
Ah, the adventures of an inexperienced webmaster.
I've always used target="_blank" in my HTML to make a link open in a new window. I like my links to external sites to open in a new window keeping my site open for the user. I think with our assumed audience that's a good idea.
But the Gardening Solutions site uses XHTML Strict, and target=_blank is apparently a no-no in XMTML Strict. Your code will not validate if you're using it. Say what you will about the purity of validation versus "the page works, why fix it?", I'm trying to play by the rules of the huge institution for which I work. I noticed the web guy who built many of these pages that I inherited used rel="external" and that seemed to work, so I did a handy-dandy search and replace and did the good-doobie thing - I replace any mention of target="_blank" with rel="external" -- not really knowing how it worked.
Guess what - now it wasn't working at all! Opening my site in IE7, I found that none of my links were opening in new windows, not even ones that had previously worked before my little s'n'r - ack!
So after a little research, I realized that rel=external only works with a little Javascript workaround (I know nothing of Javascript). I open up the file called external.js and compare the code to one I found on webmasterworld.com. (Which rocks, by the way.)
It was looking correct until one line. The correct code had:
anchor.rel="external";
My code had:
anchor.target="_blank";
My search and replace had replaced it everywhere - including the one place I needed the "wrong" code.
What makes this even more stupid is I had done the exact same thing with another piece of code a few day ago!
Ah, the adventures of an inexperienced webmaster.
Subscribe to:
Posts (Atom)
