<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Beyond Caffeine &#187; (X)HTML</title>
	<atom:link href="http://blog.websitestyle.com/index.php/category/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.websitestyle.com</link>
	<description>Various Epiphanies of a Technical Mind</description>
	<lastBuildDate>Wed, 03 Nov 2010 22:27:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>IE8 &#8211; Browser Identity Concerns Fixed</title>
		<link>http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/</link>
		<comments>http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 14:52:49 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Tech News]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/</guid>
		<description><![CDATA[Yesterday Microsoft posted a piece of news very important to all modern web developers &#8211; they are reversing their decision regarding the default behavior of IE8. For those web developers who have been too busy to check their feed readers lately &#8211; here&#8217;s the short version of what&#8217;s been going on: Microsoft let us know [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday <a href="http://www.microsoft.com/presspass/press/2008/mar08/03-03WebStandards.mspx">Microsoft posted a piece of news</a> very important to all modern web developers &#8211; they are reversing their decision regarding the default behavior of IE8.</p>
<p>For those web developers who have been too busy to check their feed readers lately &#8211; here&#8217;s the short version of what&#8217;s been going on:</p>
<p>Microsoft <a href="http://blogs.msdn.com/ie/archive/2008/01/21/compatibility-and-ie8.aspx">let us know</a> that they were planning to implement a &#8216;new&#8217; method of &#8230; well, let&#8217;s just say they wanted to give the browser an identity crisis. The decision they came to was that IE8, although it would be much more standards compliant than IE7, wouldn&#8217;t act like IE8 by default. It was decided that IE8 would act like IE7 unless you specifically told it to act like IE8. This decision was backwards, illogical, potentially a huge issue for developers, and really just a waste of all those new &#8216;bells and whistles&#8217; the IE8 is supposed to have in terms of how well it renders website code.</p>
<p>The way they had planned to make this work was to have developers add a meta tag to all pages that they wanted IE8 to actually read using IE8, instead of IE7. Aka: Modern browser sniffing comes into IE8. </p>
<p>These aren&#8217;t the only issues, but I think that <a href="http://weblogs.mozillazine.org/roc/archives/2008/01/post_2.html">Robert O&#8217;Callahan has already summed them up</a> quite nicely for you to read, so I&#8217;ll point you his direction for a good summary. If you&#8217;d like more information, and responses to how we reacted to this first bit of news, please check out <a href="http://www.digital-web.com/news/2008/01/IE8_Version_Targeting_causes_quite_a_stir">the links compiled over at Digital Web</a>.</p>
<p>Anyway, that was a little over a month ago. Yesterday, we got a pleasant surprise.</p>
<p>Microsoft released notices on <a href="http://www.microsoft.com/presspass/press/2008/mar08/03-03WebStandards.mspx">their press site</a> and <a href="http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx">the IEBlog</a> saying that they have reversed their decision.</p>
<p>To quote the IEBlog:</p>
<blockquote><p>Now, IE8 will show pages requesting &#8220;Standards&#8221; mode in IE8&#8242;s Standards mode. Developers who want their pages shown using IE8&#8242;s &#8220;IE7 Standards mode&#8221; will need to request that explicitly (using the http header/meta tag approach described <a href="http://alistapart.com/articles/beyonddoctype">here</a>).</p></blockquote>
<p>I think that Eric Meyer <a href="http://meyerweb.com/eric/thoughts/2008/03/03/meta-change/">sums it up nicely in his post</a> where he indicates that not all issues with the meta tag are gone (which will still exist but not be required to make IE8 work as the new browser), but that this is a huge difference for the better.</p>
<p>There is also some curiosity about whether or not this change was made due to current legal issues affecting Microsoft, as in their <a href="http://www.microsoft.com/presspass/press/2008/mar08/03-03WebStandards.mspx">press release</a> the following is found:</p>
<blockquote><p>&#8220;While we do not believe there are currently any legal requirements that would dictate which rendering mode must be chosen as the default for a given browser, this step clearly removes this question as a potential legal and regulatory issue,&#8221; said Brad Smith, Microsoft senior vice president and general counsel.</p></blockquote>
<p>In any event, the new IE8 will now act like IE8 by default (what a concept!). It is a sound, logical decision. I do have some concern as to how they will respond if the beta comes out and there are many complaints (as there have been with past browser versions) from web developers who didn&#8217;t prepare themselves and their sites for the change. I hope that MS won&#8217;t be easily swayed later toward reversing this decision again going back to the previous one just to appease developers who were lazy in their preparation, because this change will help developers who work with modern technologies &#8211; and those developers are the ones making the real innovation these days.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2008/03/04/ie8-browser-identity-concerns-fixed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>On Keeping it Simple</title>
		<link>http://blog.websitestyle.com/index.php/2007/06/06/on-keeping-it-simple/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/06/06/on-keeping-it-simple/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 19:46:31 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/06/06/on-keeping-it-simple/</guid>
		<description><![CDATA[I got an email recently that inspired me to post a little reminder about web design: Life is really simple, but we insist on making it complicated. ~Confucius The email detailed the difficult journey a new-to-DOM person was having learning how to walk the DOM tree. He simply wanted to go down to the second [...]]]></description>
			<content:encoded><![CDATA[<p>I got an email recently that inspired me to post a little reminder about web design:</p>
<blockquote><p>Life is really simple, but we insist on making it complicated. ~Confucius</p></blockquote>
<p>The email detailed the difficult journey a new-to-DOM person was having learning how to walk the DOM tree. He simply wanted to go down to the second level of an element after finding the right element. In this case of the email, it was about how to find blockquotes within blockquotes.</p>
<p>The DOM trekker was simultaneously trying to figure out how to add CSS on the fly, and asking whether it would matter if it was added inline at the element in question, or in the head section.</p>
<p>This got me curious, so I asked what the goal was:</p>
<p>Very simply he wanted to display the top level blockquotes with a border on the left only, but blockquotes within blockquotes with borders on top and bottom only.</p>
<p>The plan was to hunt down those blockquotes using DOM, then on the fly insert CSS to change their style according to where they were in the &#8216;tree.&#8217;</p>
<p>SchrÃ¶dinger anyone?</p>
<p>My response to this frazzled developer was simply to &#8216;step back, have a cup of coffee, watch a movie, then check his email.&#8217;</p>
<p>In his email he would find 2 lines of CSS as follows:</p>
<p>For the first level blockquote:<br />
<code>blockquote { margin: .5em; border-left: 5px solid #eee; padding-left:.5em; }</code><br />
For the second level blockquote:<br />
<code>blockquote blockquote {margin: .5em; border-top:5px solid #eee; border-bottom:5px solid #eee; border-left: none; padding: .5em 0 .5em .5em; }</code></p>
<p>Which yields this:<br />
<img src="http://img517.imageshack.us/img517/1597/subblockquotespl1.png" alt="Blockquotes in blockquotes." /></p>
<p>Now, don&#8217;t get me wrong &#8211; I don&#8217;t mind emails like this in the least. In fact, I have people who I email or IM when I&#8217;m frantically worked up and complicating an issue beyond measure. Having a support network helps sometimes when you&#8217;re losing your mind.</p>
<p>Everyone does this at some point or other.</p>
<p>It&#8217;s why we have phrases like K.I.S.S. or &#8216;<em>Missing the forest for the trees</em>&#8216; and even the ever popular &#8216;<em>Doh!</em>&#8216;</p>
<p>I won&#8217;t say that there is always an easy solution to every problem, but often times, the more time we spend thinking about an issue, the more complex it gets in our head. Suddenly our minds are working overtime, thinking far beyond the issue at hand &#8211; and definitely no longer keeping it simple.</p>
<p>I do this. Most people do this. You probably do also. It&#8217;s fine. It&#8217;s okay. Thankfully, it&#8217;s only a temporary insanity that we suffer in our stress.</p>
<p>With this little reminder&#8230; I&#8217;ll leave you with a couple of parting words from the masters:</p>
<blockquote><p>Simplicity, simplicity, simplicity!  I say, let your affairs be as two or three, and not a hundred or a thousand instead of a million count half a dozen, and keep your accounts on your thumb-nail.  ~Henry David Thoreau</p></blockquote>
<blockquote><p>Simplicity is the ultimate sophistication.  ~Leonardo DaVinci</p></blockquote>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/06/06/on-keeping-it-simple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Best Practices</title>
		<link>http://blog.websitestyle.com/index.php/2007/06/05/css-best-practices/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/06/05/css-best-practices/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 20:07:51 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/06/05/css-best-practices/</guid>
		<description><![CDATA[An Excellent article called CSS Best Practices from Evotech.net. Definitely worth bookmarking if you&#8217;re new to web design or CSS. I would add a few small things, such as in the &#8216;Starting with a Clean Slate&#8217; section: Wipe all margins on block elements by setting margin:0 Don&#8217;t specify font family if you don&#8217;t have to. [...]]]></description>
			<content:encoded><![CDATA[<p>An Excellent article called <a href="http://www.evotech.net/blog/2007/04/css-best-practices/">CSS Best Practices</a> from <a href="http://www.evotech.net">Evotech.net</a>. Definitely worth bookmarking if you&#8217;re new to web design or CSS.</p>
<p>I would add a few small things, such as in the &#8216;Starting with a Clean Slate&#8217; section:</p>
<ul>
<li>Wipe all margins on block elements by setting margin:0</li>
<li>Don&#8217;t specify font family if you don&#8217;t have to.</li>
<li>Use font percentages instead of x-small </li>
<li>etc&#8230;</li>
</ul>
<p>Small changes, and overall the list is something that could be of significant help to someone.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/06/05/css-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphical Horizontal Menus with CSS &#8211; Step 2</title>
		<link>http://blog.websitestyle.com/index.php/2007/06/04/graphical-horizontal-menus-with-css-step-2/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/06/04/graphical-horizontal-menus-with-css-step-2/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 22:46:48 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/06/04/graphical-horizontal-menus-with-css-step-2/</guid>
		<description><![CDATA[If you have followed along through Step 1, then you have the HorizMenu.psd file to continue with. To refresh your memory, we left off with our HorizMenu looking like this: Now, you may be wondering why that extra space is there at the bottom. Why we didn&#8217;t simply crop all the bottom off. The answer [...]]]></description>
			<content:encoded><![CDATA[<p>If you have followed along through <a href="http://blog.websitestyle.com/index.php/2007/05/29/graphical-horizontal-menus-with-css-step-1/">Step 1</a>, then you have the HorizMenu.psd file to continue with. To refresh your memory, we left off with our HorizMenu looking like this:</p>
<p><a href="http://img504.imageshack.us/img504/3787/menu8ga2.jpg"><img src="http://img504.imageshack.us/img504/3787/menu8ga2.th.jpg" alt="Horiz Menu in progress." /></a></p>
<p>Now, you may be wondering why that extra space is there at the bottom. Why we didn&#8217;t simply crop all the bottom off. The answer is that we want to see where the sub-menu comes in. This could be positioned differently if we were using a repeatable background on the menu bar, but since we aren&#8217;t, and in this fixed width design the text is influenced by the menu and the background, we have to work with what we have and be precise.</p>
<p>Open up your HorizMenu.psd (if you don&#8217;t have this file, <a href="http://www.mediafire.com/?fzroymmxbq1">click here</a> to get it).</p>
<p>Using your slice tool, create three box slices dividing up that menu, and a fourth that is the bottom area. If you simply create boxes around the menu items, the fourth area will create itself. Make sure you are precise, and as you can see I&#8217;ve tried to center the submenu in the &#8216;About&#8217; area.</p>
<p><a href="http://img526.imageshack.us/img526/985/menu9vm5.jpg"><img src="http://img526.imageshack.us/img526/985/menu9vm5.th.jpg" alt="Menu sliced." /></a></p>
<p>Now that you have the menu sliced, you can crop out that bottom area.</p>
<p><a href="http://img508.imageshack.us/img508/377/menu10fh4.jpg"><img src="http://img508.imageshack.us/img508/377/menu10fh4.th.jpg" alt="Menu sliced and cropping." /></a></p>
<p>After you&#8217;ve cropped the HorizMenu.psd to consist of only the menu items, then go ahead and save the PSD. </p>
<p>From this point, we&#8217;re going to save the slices as individual files.<br />
<code>File -> Save For Web...</code></p>
<p>I suggest looking at the 2-Up or 4-Up tabs to really compare what you want to save your images as without sacrificing quality. I&#8217;ve chosen to save these as JPEG with 60 quality, as shown here:</p>
<p><a href="http://img510.imageshack.us/img510/939/menu11an9.jpg"><img src="http://img510.imageshack.us/img510/939/menu11an9.th.jpg" alt="Menu being saved at 60 quality jpeg for web." /></a></p>
<p>Simply click on the area showing the one you like the most, then click the &#8216;Save&#8217; button.</p>
<p>Another box will pop up as shown:</p>
<p><a href="http://img366.imageshack.us/img366/4306/menu12kv1.jpg"><img src="http://img366.imageshack.us/img366/4306/menu12kv1.th.jpg" alt="Saving images properly as slices." /></a></p>
<p>Make sure that your selections in the drop down boxes are saving the images only, and as slices.</p>
<p>When you have saved them, check in the area you saved them to. You should see a folder with three new image files, each numbered and prefaced by what ever you put in the File Name box (in my case, HorizMenu). </p>
<p>If you don&#8217;t have these three files, or think you might have messed up somewhere, you can <a href="http://www.mediafire.com/?7ldksnrn92g">download them here</a> to follow along on the next step.</p>
<p>That&#8217;s enough for now, and thankfully we won&#8217;t be touching Photoshop for a little while at least. I know, I know, most people don&#8217;t think that people who code websites deal with the graphic art software &#8211; but they end up quickly disabused of that notion. Even if you aren&#8217;t a graphic artist, if you put sites together, you need to learn how to work with the kinds of files that a graphic artist provides to you. After who knows, after a while&#8230; you might find yourself creating mockups in Photoshop just to do random tutorials <img src='http://blog.websitestyle.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The next step is coming soon!</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/06/04/graphical-horizontal-menus-with-css-step-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphical Horizontal Menus with CSS &#8211; Step 1</title>
		<link>http://blog.websitestyle.com/index.php/2007/05/29/graphical-horizontal-menus-with-css-step-1/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/05/29/graphical-horizontal-menus-with-css-step-1/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:36:00 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/index.php/2007/05/29/graphical-horizontal-menus-with-css-step-1/</guid>
		<description><![CDATA[One of my least favorite things in web design are all graphical css menus. I utterly despise them, and the reasons are endless. Depending on what is involved, they can be a real pain to make accessible at times. They tend to require a strong foundation in CSS or a significant learning curve. By their [...]]]></description>
			<content:encoded><![CDATA[<p>One of my least favorite things in web design are all graphical css menus. I utterly despise them, and the reasons are endless. </p>
<ul>
<li>Depending on what is involved, they can be a real pain to make accessible at times.</li>
<li>They tend to require a strong foundation in CSS or a significant learning curve.</li>
<li>By their image based nature alone they are going to bloat the page size and drop loading speed.</li>
<li>They most often are found attached to a design concept that is already heavily graphical and already has a huge loading time.</li>
<li>I dislike dealing with designs whereby a client is so set on having a specific font that they are willing to sacrifice an extreme amount of loading time to have it.</li>
</ul>
<p>These kind of things fall into my category of &#8211; <em>&#8216;the prettiest websites no one ever saw&#8217;</em> (meaning that they are beautiful works of art, but they take so long to load that no one sticks around to see it).</p>
<p><strong>All that aside &#8211; you might some day decide to make one for a client, and it is in your best interest to know how.</strong></p>
<p>Herein, you&#8217;ll find Step 1 of a tutorial on exactly how I create graphical horizontal menus. People vary in methods, and hopefully you&#8217;ll find your own way to do it.</p>
<p>In fact, this tutorial is going to show you one of the worst kind of graphical horizontal menus. A &#8216;worst case scenario&#8217; sort of tutorial. The menu we are dealing with will be:</p>
<ul>
<li>Used in a fixed width design.</li>
<li>On a heavily graphical site.</li>
<li>Mildly transparent to the background of the page.</li>
<li>Include separate &#8216;on&#8217; and &#8216;off&#8217; rollover images on the main menu.</li>
<li>Include a sub-menu that is also somewhat transparent.</li>
<li>Include a sub-menu that is entirely graphical and has separate &#8216;on&#8217; and &#8216;off&#8217; rollover images.</li>
<li>All custom fonts used.</li>
<li><strong>Important Note:</strong> The menus must be accessible. The images need to be background images. No Javascript for drop-downs.</li>
<li>We&#8217;ll have to do a unique solution for IE6 and lower.</li>
</ul>
<p>Sound like fun? Well, either way, let&#8217;s get going.</p>
<p>I created a little mockup in Photoshop of a menu design we&#8217;re going to use. I&#8217;m not going to teach you how to do the rest of the layout. Only the menu. You will need to have access to Photoshop or Gimp for this sort of project, or you will need to have all the individual images given to you by your client ahead of time. You can <a href="http://www.mediafire.com/?bj5nduejhhh">download the PSD</a> of the mockup if you want to follow along.</p>
<p><a href="http://img516.imageshack.us/img516/5600/menu1mq3.jpg"><img src="http://img516.imageshack.us/img516/5600/menu1mq3.th.jpg" alt="Original Mockup." /></a></p>
<p>Stop here and take a good look at the menu, then try to anticipate what elements might be problematic. It&#8217;s always a good idea when starting a new project to look for potential pitfalls so you can work out solutions ahead of time.</p>
<p>If you&#8217;re lucky, the graphic designer (or yourself) has labeled all the image layers in your graphics program really well. If you are making this yourself, you probably know how easy it is to get lost in your own design layers. If you get a poorly labeled one, go in and fix the labels so that it can be easily understood. You&#8217;ll save yourself time in the long run because good labeling is essential.</p>
<p>Okay, first things first &#8211; we have to get this menu ready to be used. </p>
<p>Go through your layers in Photoshop, and toggle the visibility (the eye graphic on/off) until all of your top level menu links are in the &#8216;off&#8217; position.</p>
<p><a href="http://img504.imageshack.us/img504/3059/togglealloffaj3.jpg"><img src="http://img504.imageshack.us/img504/3059/togglealloffaj3.th.jpg" alt="Initially toggle all image links to off." /></a></p>
<p>Let&#8217;s select the menu portion of this design, like so:</p>
<p><a href="http://img405.imageshack.us/img405/2199/menu2el6.jpg"><img src="http://img405.imageshack.us/img405/2199/menu2el6.th.jpg" alt="Select toggled area." /></a></p>
<p>Don&#8217;t worry about selecting the menu perfectly yet. With this section selected, in Photoshop do:<br />
<code>Edit -> Copy Merged</code><br />
Then:<br />
<code>File -> New -> OK -> Paste</code><br />
You should now have a new untitled window popped up that just shows the menu area.</p>
<p><a href="http://img443.imageshack.us/img443/792/menu3gu7.jpg"><img src="http://img443.imageshack.us/img443/792/menu3gu7.th.jpg" alt="Make a new image with the selected area." /></a></p>
<p>Now, grabbing your new Untitled window by the title bar, move it off to a corner for now, and bring the full design to the front by clicking on its title bar. We&#8217;re now going to go back to our layers and switch all of the menu names to &#8216;on&#8217; instead of &#8216;off.&#8217;</p>
<p><a href="http://img293.imageshack.us/img293/2351/menu4cl9.jpg"><img src="http://img293.imageshack.us/img293/2351/menu4cl9.th.jpg" alt="Toggle all menu items to on." /></a></p>
<p>With this section selected, in Photoshop do:<br />
<code>Edit -> Copy Merged</code><br />
Then:<br />
<code>File -> New -> OK -> Paste</code><br />
You should now have a Second untitled window popped up that just shows the menu area.</p>
<p>At this point, you can close your large image PSD (for the time being at least) and work just on your pieces of the menu for a bit.</p>
<p>Stack your untitled images so that you can see them well. Then go to your first Untitled image (should be currently named Untitled-1), and try to carefully select only the green menu area rectangle. Then go to:<br />
<code>Image -> Crop</code></p>
<p><a href="http://img502.imageshack.us/img502/149/menu5mg8.jpg"><img src="http://img502.imageshack.us/img502/149/menu5mg8.th.jpg" alt="Cropping the first menu." /></a></p>
<p>There is a crop tool, but I feel this method is a bit more forgiving. Work with whichever you are most comfortable. You may have to do a couple of passes at this to get it cropped perfectly. You want only the green leafy rectangle and the links on it for this one. We&#8217;ll do the second one a bit different, so don&#8217;t jump ahead <img src='http://blog.websitestyle.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Go to Untitled-2, and select all but the bottom portion below the green horizontal bar. You want to still be able to see where the sub-menu needs to come in from.</p>
<p>Then crop the image just as you did the previous one, until your images look like this:</p>
<p><a href="http://img502.imageshack.us/img502/8490/menu6vv5.jpg"><img src="http://img502.imageshack.us/img502/8490/menu6vv5.th.jpg" alt="Both menus cropped." /></a></p>
<p>Right click on the title bar of the second image, and click on Image Size. Jot down the height in pixels for this image. In this example, the height is 58 pixels.</p>
<p>Then click on the first untitled window to select it, and do:<br />
<code>Image -> Canvas Size</code></p>
<p>This will bring up a pop-up window. Toggle the height and width to show the values in pixels, and in the box with arrows you want to click the middle arrow in the top row. That will pin the canvas up by the middle top. Now you want to add some canvas space, just enough for our second image. That means we need 58 extra pixels in height.</p>
<p>My Untitled-1 original is 46 pixels in height, so I want to change that number to 104 pixels. Then click OK.</p>
<p><a href="http://img175.imageshack.us/img175/8857/menu7ji6.jpg"><img src="http://img175.imageshack.us/img175/8857/menu7ji6.th.jpg" alt="Increasing canvas height." /></a></p>
<p>Your canvas should be expanded now by that additional 58 pixels, and they should be only on the bottom portion. Now you can go ahead and select the entire of Untitled-2, then:<br />
<code>Edit -> Copy</code><br />
Click on Untitled-1, and:<br />
<code>Edit -> Paste</code><br />
Move your new section around in there until it&#8217;s just perfectly below the top one.</p>
<p><a href="http://img504.imageshack.us/img504/3787/menu8ga2.jpg"><img src="http://img504.imageshack.us/img504/3787/menu8ga2.th.jpg" alt="Joined Menu." /></a></p>
<p>You can now close (don&#8217;t need to save) the Untitled-2. All we need now is the joined menu. Then go save that menu (as a PSD) with a name you can recognize. I&#8217;m very simply calling mine, HorizMenu.psd.</p>
<p>Alternately, you can download my <a href="http://www.mediafire.com/?fzroymmxbq1">HorizMenu.psd</a> file.</p>
<p>If you&#8217;ve ever worked with combined graphics, you might have an idea where we&#8217;re going with this. Either way&#8230; that&#8217;s enough for one sitting.</p>
<p><a href="http://blog.websitestyle.com/index.php/2007/06/04/graphical-horizontal-menus-with-css-step-2/">Keep Going &#8211; Step 2 is HERE.</a></p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/05/29/graphical-horizontal-menus-with-css-step-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding by Hand &#8211; A Lost Art?</title>
		<link>http://blog.websitestyle.com/index.php/2007/03/26/coding-by-hand-a-lost-art/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/03/26/coding-by-hand-a-lost-art/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 08:28:15 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Standards]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/?p=191</guid>
		<description><![CDATA[I think that it&#8217;s a lost art in many ways &#8211; coding by hand. With all the visual point-and-click editors out there, few people code from scratch anymore. Personally, I prefer hand coding and will until a visual editor comes along that works well enough to know what I&#8217;m thinking before I do. There are [...]]]></description>
			<content:encoded><![CDATA[<p>I think that it&#8217;s a lost art in many ways &#8211; coding by hand. With all the visual point-and-click editors out there, few people code from scratch anymore. Personally, I prefer hand coding and will until a visual editor comes along that works well enough to know what I&#8217;m thinking before I do.</p>
<p>There are alot of people out there who tout the power of all these point-and-click, drag-and-drop, bait-and-switch? type of visual editors out there. I&#8217;ve yet to find one that I really liked. Beyond that &#8211; one that didn&#8217;t require me to go back and spend alot of time editing out incorrect code inserted by the visual editor. I&#8217;m open to suggestions, and I do try out new software on a regular basis &#8211; I&#8217;m just incredibly picky. When I create a design for a client, or for an open source release, I want the code to be flawless. The fact that there are &#8216;popular&#8217; web development software programs out there that still create the font tag bothers me. Even more dumbfounding to me is the fact that some <strong>new</strong> web development software is being created that does the same thing.</p>
<p>In any event, I&#8217;m beginning to feel old in the world of technology. When I talk to some other &#8216;new&#8217; techs, I realize they are probably seeing me as some sort of relic because I prefer my Linux computer and I code by hand. A teeny part of me wants to laugh and say &#8216;No no, I just started using Linux a year or two ago and I didn&#8217;t always code solely by hand.&#8217; But the rest of me wins and I tend to just ignore the &#8216;looks&#8217; and keep on with the subject. I think it&#8217;s amusing that to some people &#8216;hand coding&#8217; makes you a relic, and to others it makes you a &#8216;god&#8217;, while to me &#8230; it just tells me that you probably have good attention to detail.</p>
<p>But before I close out this brief discussion about coding by hand, I have to mention one of those inevitable questions I get asked when people find out that I code by hand: </p>
<blockquote><p>What software do you use for that?</p></blockquote>
<p>You know&#8230; I&#8217;m never sure whether to laugh or cry when I hear that. Sometimes I just find myself staring in dumbfounded amusement for a moment. When my mind has stopped reeling, I slowly say &#8220;Erm&#8230; a text editor.&#8221;</p>
<p>The subsequent question is typically: &#8220;Which one?&#8221;</p>
<p>So here&#8217;s my answer, for one and all:</p>
<p>When Slumming in Windows: I use <a href="http://www.pspad.com/">PSPad</a>.<br />
When in Linux: I use <a href="http://www.gnome.org/projects/gedit/">gedit</a> mostly, and occasionally <a href="http://bluefish.openoffice.nl">Bluefish</a>.</p>
<p>Now, don&#8217;t get me wrong &#8211; I do use content management systems to make my life easier. In fact, I&#8217;m a big proponent of them so long as they generate good code (ex: WordPress) . But everything that goes into those systems &#8211; that&#8217;s coded by hand.</p>
<p>~Nicole</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/03/26/coding-by-hand-a-lost-art/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Microsoft Complicates HTML Emails with Outlook 2007</title>
		<link>http://blog.websitestyle.com/index.php/2007/01/18/microsoft-complicates-html-emails-with-outlook-2007/</link>
		<comments>http://blog.websitestyle.com/index.php/2007/01/18/microsoft-complicates-html-emails-with-outlook-2007/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 20:40:41 +0000</pubDate>
		<dc:creator>Nicole</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Tech News]]></category>

		<guid isPermaLink="false">http://blog.websitestyle.com/?p=180</guid>
		<description><![CDATA[Why? I think that has been the question echoing over and over in my mind. Why? Why? Why was this choice made? Before I continue ranting about how Microsoft seems to get a thrill out of coming up with one developer-frustrating bit of news each month, I&#8217;m going to backtrack a bit and explain what [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Why?</strong> I think that has been the question echoing over and over in my mind. Why? Why? Why was this choice made?</p>
<p>Before I continue ranting about how Microsoft seems to get a thrill out of coming up with one developer-frustrating bit of news each month, I&#8217;m going to backtrack a bit and explain what I&#8217;m talking about&#8230;</p>
<p>In the SitePoint newsletter released on January 10th, there was a rather major article posted. The title of the article was &#8220;Microsoft Breaks HTML Email Rendering in Outlook 2007&#8243; and can be <a href="http://www.sitepoint.com/newsletter/viewissue.php?id=3&#038;issue=156">viewed online in the archive</a>. The article <a href="http://www.sitepoint.com/blogs/2007/01/10/microsoft-breaks-html-email-rendering-in-outlook/">was republished on the main SitePoint site</a> and incited a slew of comments, as expected. After that, we saw the topic covered over at <a href="http://www.campaignmonitor.com/blog/archives/2007/01/microsoft_takes_email_design_b.html">Campaign Monitor</a>, and <a href="http://f6design.com/journal/2007/01/10/microsoft-drops-the-ball-with-outlook-2007/">Pixel Acres</a>.</p>
<p><strong>Why all the fuss?</strong> If you haven&#8217;t read the article, let me summarize the general issue from the standpoint of a very irritated web designer (one of many in this case).</p>
<p>Once upon a time&#8230;</p>
<p>&#8230;Web developers/designers were finally relieved to see IE7 in some sort of standards compliant form (even if it isn&#8217;t up to specs yet, it&#8217;s better than it was &#8211; even though they completely ignored the usability experts who were warning in beta that the interface was awful, but that&#8217;s another story entirely).</p>
<p>&#8230; This has a secondary benefit which made developers happy, because IE is used for rendering/display of emails in MS Outlook. With IE7 running with more standards compliance, that would mean that HTML emails would hopefully offer a bit more functionality based on that IE7 rendering. (Note: To any not familiar with HTML emails, it&#8217;s tricky business to make them display well on different email programs.)</p>
<p>&#8230; IE7 is released and downloaded by many people across the world.</p>
<p>&#8230; Whoops. Somehow we missed <a href="http://msdn2.microsoft.com/en-us/library/aa338201.aspx#Word2007MailHTMLandCSS_CoreEXTENDED">this article</a> on the Microsoft site in all the excitement.</p>
<p>&#8230; So now we&#8217;ve found out that, for some unexplained reason, Microsoft has decided to not use IE7 for rendering in the new Outlook 2007.</p>
<p>&#8230; &quot;But wait&quot;, you ask hesitantly. &quot;What -will- be used for rendering?&quot;</p>
<p>&#8230; Microsoft Word.</p>
<p>&#8230; No, I&#8217;m not joking.</p>
<p>Truly, I have no idea why this took place. Both the products belong to Microsoft, yet the chose to toss out the recently improved and expected solution to replace it with one of the most junk filled word processors ever created.</p>
<p>To cut to the heart of it, let me explain what is making people so upset. Choosing to use MS Word for rendering instead of IE will result in the loss of several options. This list has been repeated in several places online since developers have noticed this, so I&#8217;m just going to quote the list used in the SitePoint article rather than reword it minimally to say the same thing:</p>
<blockquote><p>    *   no support for background images (HTML or CSS)<br />
    * no support for forms<br />
    * no support for Flash, or other plugins<br />
    * no support for CSS floats<br />
    * no support for replacing bullets with images in unordered lists<br />
    * no support for CSS positioning<br />
    * no support for animated GIFs
</p></blockquote>
<p>I am, honestly, quite annoyed. I publish an email newsletter each week that goes out to several thousands of readers. It is an HTML newsletter with significant CSS use. Now I&#8217;m thinking&#8230; okay, so, not only do I have to rework the newsletter, but if people upgrade to Outlook 2007, and try to read their old emails, I imagine now they aren&#8217;t going to display properly.</p>
<p><a href="http://joe.hardy.id.au/blog/2006/11/21/broken-html-rendering-in-outlook-2007/">I am</a> <a href="http://pschmid.net/blog/2006/10/05/56">not the</a> <a href="http://www.thecreationshop.com/2007/01/12/microsoft-takes-email-design-back-5-years/">only one</a> <a href="http://www.noinput.net/?p=1091">who&#8217;s annoyed</a>. Annoyed doesn&#8217;t fully encompass it though. I&#8217;m also simply dumbfounded.</p>
<p>Now, before any plain-text only advocates jump on the bandwagon and start talking about how they don&#8217;t care, let me give you a quote from an anonymous poster on the SitePoint post:</p>
<blockquote><p>HTML vs. plain-text in email:</p>
<p>1) This typical debate comprises progressive people debating the stagnant. &#8220;HTML has no place in email.&#8221; I&#8217;ve heard my grandfather make similar statements like &#8220;computers have no place in a library.&#8221;</p>
<p>2) Just because email started in plain-text doesn&#8217;t mean it has no room for evolution.</p>
<p>3) Anyone with a subscription list that offers a choice between HTML and plain-text can attest to the fact that HTML is preferred infinitely over plain-text. So anyone who says it has no place in email is an elitist who is ignorant of the preferences of the majority.</p>
<p>This article isn&#8217;t about HTML vs. plain-text.</p>
<p>This article is about the fact that Microsoft is catering to their own monopolistic goals and placing devastating hurdles in place for the web-design community. They&#8217;re taking 200 steps backward while everyone else takes a few steps forward. And they bank on knowing that they have lassos, enabling them to keep us all at bay.</p>
<p>Can anyone lay out a good reason why Microsoft would have made this decision? If your answer is that &#8220;they want people to use plain-text formats because HTML emails are stupid,&#8221; you&#8217;re in the wrong forum. </p></blockquote>
<p>Now, there is supposedly a way around this. A comment by Oscar Gensmann (on the SitePoint article) had this to say about the options in Outlook 2007:</p>
<blockquote><p>Outlook 2007 does have a way to render an e-mail using the built in browser (security-zone).</p>
<p>The method is:</p>
<p>1) Open the E-mail in it&#8217;s own window (double click)</p>
<p>2) Click the toolbar button called &#8220;Other actions&#8221; in the ribbon</p>
<p>3) Choose &#8220;View in browser&#8221;</p>
<p>This doesnâ€™t help the problem with the preview pane and the fact that the user has to do a considerable amount of work to view the e-mail in it&#8217;s correct form. It does however change the situation where it&#8217;s totally impossible to view an advanced HTML e-mail in using Outlook 2007 as the primary e-mail client, to a situation where people choosing to use 2007 can be taught how to view advanced HTML e-mails with a simple couple of clicks method.</p></blockquote>
<p>While that may be possible, how many of your average users are going to know to do that? As most developers/designers know, the average user cannot be expected to know how to alter settings. It should be assumed that many of them will leave their software in it&#8217;s default form. Besides, while it is a partial fix, it doesn&#8217;t solve the issue of the email preview (which tons of people use).</p>
<p>Obviously the user doesn&#8217;t care what is rendering their emails. They won&#8217;t know if it&#8217;s IE7, MS Word, or &#8216;that Google thing&#8217;. All they need is for it to work the way they expect it. Which is why this is a developer problem. </p>
<p>If developers didn&#8217;t scramble to find work-arounds every time Microsoft threw another curveball, it would become as obvious to customers (as it is to many developers) exactly how little they care about inconveniencing people.</p>
<p>~Nicole </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.websitestyle.com/index.php/2007/01/18/microsoft-complicates-html-emails-with-outlook-2007/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

