<?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>Cutline Theme for WordPress &#187; Styling</title>
	<atom:link href="http://cutline.tubetorial.com/category/styling/feed/" rel="self" type="application/rss+xml" />
	<link>http://cutline.tubetorial.com</link>
	<description>One Giant Leap for Mankind</description>
	<lastBuildDate>Sat, 03 Jul 2010 05:09:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Image Handling with Cutline</title>
		<link>http://cutline.tubetorial.com/image-handling-with-cutline/</link>
		<comments>http://cutline.tubetorial.com/image-handling-with-cutline/#comments</comments>
		<pubDate>Wed, 13 Sep 2006 05:19:17 +0000</pubDate>
		<dc:creator>Cutline Moderator</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Styling]]></category>

		<guid isPermaLink="false">http://cutline.tubetorial.com/image-handling-with-cutline/</guid>
		<description><![CDATA[
Pictures are one of the very few universal elements you can use to really seize the attention of your audience, and the more effectively you are able to display them, the better off you’ll be. With that in mind, Cutline comes with a set of pre-defined CSS classes that are dedicated solely towards image handling. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="center off" src="http://cutline.tubetorial.com/images/oranges.jpg" width="500" height="82" alt="Kick it up a notch with snazzy images in Cutline" /></p>
<p>Pictures are one of the very few universal elements you can use to really seize the attention of your audience, and the more effectively you are able to display them, the better off you’ll be. With that in mind, Cutline comes with a set of pre-defined CSS classes that are dedicated solely towards image handling. When you want to include an image, simply add one of these classes and voila! Instant image presentation gratification!<span id="more-8"></span></p>
<p>Cutline comes with four main classes that you can use to make your images look even better:</p>
<ul>
<li><strong>left</strong> &#8211; aligns the image to the left, adds a frame, and wraps text around the image</li>
<li><strong>right</strong> &#8211; aligns the image to the right, adds a frame, and wraps text around the image</li>
<li><strong>center</strong> &#8211; aligns the image in the center, adds a frame, does <strong>not</strong> wrap text</li>
<li><strong>off</strong> &#8211; removes the frame (more on this in a moment)</li>
</ul>
<p>Using these classes is a snap, as you only need to add them into your post like so:</p>
<p><code>&lt;img <span style="color: #f00;">class="left"</span> src="..." width="x" height="y" alt="The alt text for this image" /&gt;</code></p>
<p><img class="left" src="http://cutline.tubetorial.com/images/coffee_beans.jpg" width="217" height="100" alt="coffee beans" />In this snippet of code, the class addition is indicated in red. In order to make an image appear properly, you&#8217;ll need to specify the URL of the image in the <code>src=</code> declaration. Also, it&#8217;s always a good idea to include the width and height declarations as well as the alt text. By including the width and the height, you will enable faster page loads, and by including alt text, your code will validate per <abbr title="World Wide Web Consortium">W3C</abbr> specifications.</p>
<p>Finally, let&#8217;s say you want to include an image, and you want to align it to the right <strong>without a frame</strong>. Here&#8217;s what your declaration would look like:</p>
<p><code>&lt;img class="right off" src="..." width="x" height="y" alt="Your alt text" /&gt;</code></p>
<p><img class="right off" src="http://cutline.tubetorial.com/images/bell_peppers.jpg" width="220" height="180" alt="colorful bell peppers" />Of course, no example would be complete without a live preview of the final project (hence the reason for this site&#8217;s existence!), so that&#8217;s why you see the right-aligned, bare naked (no frame) bell peppers at right.</p>
<p>Let&#8217;s take inventory for a moment&#8230;By using the included classes, you can now generate 6 different types of images &#8211; left, right, and centered; and you can go with or without a border in each location. Sweeeeeet.</p>
<h3>What happens if I don&#8217;t style an image?</h3>
<p><img src="http://cutline.tubetorial.com/images/bell_peppers.jpg" width="220" height="180" alt="colorful bell peppers" /><strike>I&#8217;m glad you asked! Cutline has been constructed so that images that do <em>not</em> have classes applied to them will still be styled. In fact, they&#8217;ll receive the same styling as any image that receives the <strong>right</strong> class, meaning that the image will be right-aligned with a frame. Oh, and text will wrap around the image, just like it does here. See? You don&#8217;t even have to go out of your way to be fancy with Cutline, and that&#8217;s how we like it.</strike></p>
<p><strong>Update:</strong> As of September 28<sup>th</sup>, 2006, Cutline has been revised so that unstyled images no longer receive default styling. This is a move that I hated to make on many fronts, but I also realize that it&#8217;s just really inconvenient to have every image styled by default.</p>
<p>Take, for instance, the Technorati tags links that many people like to include at the bottom of their posts. Before, Cutline would take the little Technorati logo image, put a frame around it, and then force it over to the right side of the content column. This was strange, annoying, and broken-looking. I can see you making your best <a href="http://en.wikipedia.org/wiki/Edvard_Munch" alt="Who is Edvard Munch?">Edvard Munch&#8217;s &#8220;The Scream&#8221;</a> face now&#8230;</p>
<p>So, as much as I&#8217;ll worry about the fact that there will be unstyled images everywhere (the bane of my existence), I really had no choice but to remove this &#8220;functionality&#8221; from the theme.</p>
<p>I hope you understand the reasons for the change, but more than that, <strong>I hope that you style your images!</strong></p>
<h3><a name="stack"></a>New Image Handling Class in Version 1.02</h3>
<p>Let&#8217;s say you have two images that you want to stack horizontally. If all you had at your disposal were the original image classes, you&#8217;d be pretty much out of luck here. Fortunately, Cutline comes equipped with a new image class called &#8220;stack&#8221; that will allow you to publish images horizontally, like so:</p>
<p><img class="left off stack" src="http://cutline.tubetorial.com/images/stack_1.jpg" width="220" height="220" alt="Stacked image 1" /><img class="left off stack" src="http://cutline.tubetorial.com/images/stack_2.jpg" width="220" height="220" alt="Stacked image 2" /></p>
<p style="clear: both;">In order to get the result shown above, you would insert code into your post that looks like this:</p>
<p><code>&lt;img class="left off <span style="color: red;">stack</span>" src="image_url" alt="image alt text" /&gt;&lt;img class="left off <span style="color: red;">stack</span>" src="image_2_url" alt="image alt text" /&gt;</code></p>
<p>So if that&#8217;s your cup of tea, start stackin!</p>
<p><img class="center" src="http://cutline.tubetorial.com/images/pinwheel_color.jpg" width="439" height="216" alt="Cutline: Just add color!" /></p>
<div id="crp_related"><h3>You might also enjoy:</h3><ul><li><a href="http://cutline.tubetorial.com/cutline-102-released-upgrade-now/" rel="bookmark" class="crp_title">Cutline 1.02 Released, Upgrade Now!</a></li><li><a href="http://cutline.tubetorial.com/how-to-customize-your-header-images/" rel="bookmark" class="crp_title">How To Customize Your Header Images</a></li><li><a href="http://cutline.tubetorial.com/professional-posting-with-cutline/" rel="bookmark" class="crp_title">How to Post Like a Pro with Cutline</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://cutline.tubetorial.com/image-handling-with-cutline/feed/</wfw:commentRss>
		<slash:comments>109</slash:comments>
		</item>
		<item>
		<title>How to Post Like a Pro with Cutline</title>
		<link>http://cutline.tubetorial.com/professional-posting-with-cutline/</link>
		<comments>http://cutline.tubetorial.com/professional-posting-with-cutline/#comments</comments>
		<pubDate>Tue, 12 Sep 2006 21:33:23 +0000</pubDate>
		<dc:creator>Cutline Moderator</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Styling]]></category>

		<guid isPermaLink="false">http://cutline.tubetorial.com/professional-posting-with-cutline/</guid>
		<description><![CDATA[Quite possibly the best aspect of the Cutline theme for WordPress is the fact that it comes equipped with a wide array of pre-defined styles that you can use to wow your readers. You&#8217;ll be amazed at how easy it is to create a post that has unmatched elegance and visual flair, and best of [...]]]></description>
			<content:encoded><![CDATA[<p>Quite possibly the best aspect of the Cutline theme for WordPress is the fact that it comes equipped with a wide array of pre-defined styles that you can use to <strong>wow</strong> your readers. You&#8217;ll be amazed at how easy it is to create a post that has unmatched elegance and visual flair, and best of all, if you ever forget how to use one of these styles or need a reference, you can always come back here and get a refresher course. What are you waiting for? Read on so you can start publishing like a pro!<span id="more-7"></span></p>
<h3>Lists</h3>
<p>Lists are easy for readers to digest, and because of that, most people love &#8216;em. With that in mind, you oughta start using more lists in your posts! Cutline comes equipped with three killer list styles, and your job is simply to choose the one that is best-suited to your particular needs. The first type of list is an <strong>unordered list</strong>, and it looks like this:</p>
<ul>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3
<ul>
<li>Nested list item 1</li>
<li>Nested list item 2</li>
</ul>
</li>
<li>List item 4</li>
</ul>
<p>The second type of list is an <strong>ordered list</strong>, and it looks like this:</p>
<ol>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
<li>List item 4</li>
</ol>
<p>The third and final type of list is called a <strong>definition list</strong>. Although they are less common, they can be useful for presenting meanings, relationships, or simply for clarification. Check it out:</p>
<dl>
<dt>This is a definition list item title</dt>
<dd>This is the description text that is related to the title above</dd>
</dl>
<dl>
<dt>WordPress</dt>
<dd>A FREE and flexible <abbr title="Content Management System">CMS</abbr> that you can use to run a killer Web site!</dd>
</dl>
<h3>Sub-Headlines</h3>
<p>Sub-headlines have already been used twice in this post&#8230;did you spot them? The first one says &#8220;Lists,&#8221; and the second one says &#8220;Sub-Headlines.&#8221; Thanks to the flexibility of Cutline, you can create similar headlines without having to do any styling on-the-fly. All you have to do is wrap your headline text in <code>&lt;h3&gt;</code> tags, and BOOM, you&#8217;ll get results like you see here.</p>
<p><img class="right" src="http://cutline.tubetorial.com/images/wp_bar.gif" width="130" height="44" alt="A picture of the button within WordPress that allows you to switch to the HTML viewer" />If you&#8217;re using the Rich Visual Text Editor (which I absolutely do <strong>not</strong> recommend), you need to switch to the HTML viewer and enter your text between <code>&lt;h3&gt;</code> tags. When you&#8217;re done, click on the <strong>Update</strong> button, and you can continue writing your entry. </p>
<p>If you&#8217;re using the regular old text-based editor (cheers if you are!), then you could write a line that looks something like this:</p>
<p><code>&lt;h3&gt;My Headline Rocks!&lt;/h3&gt;</code></p>
<p>and you&#8217;ll end up with this after you publish your post:</p>
<h3>My Headline Rocks!</h3>
<h3>Blockquotes</h3>
<blockquote class="right"><p>This is one area where Cutline has no peers&#8230;</p></blockquote>
<p>Every theme worth its weight in bandwidth comes with some sort of pre-defined blockquote styling, but how many themes do you know of that come with <strong>three different blockquote styles</strong>? This is one area where Cutline has no peers, and you can use these blockquote styles to your advantage as you liven up your posts for your readers. The quote at right is what is referred to as a &#8220;pullquote,&#8221; and you can create two types of these in your posts &#8211; one will be aligned to the right, and the other to the left. Use the following structure to make it happen:</p>
<p><code>&lt;blockquote class="<strong>x</strong>"&gt;</code></p>
<p>where <strong>x</strong> is replaced by either &#8220;left&#8221; or &#8220;right,&#8221; depending on which side of the text you want your pullquote to display.</p>
<p>And naturally, no theme would be complete without the standard old blockquote, which comes out looking like this:</p>
<blockquote><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque pharetra velit vel purus. Nunc tempor, urna sit amet euismod elementum, erat tellus auctor erat, non condimentum dui wisi non orci. Nam fringilla leo sed dui. Vestibulum ac elit sit amet diam vehicula scelerisque.</p></blockquote>
<p>To use these, simply wrap your quoted text in <code>&lt;blockquote&gt;</code> tags.</p>
<h3>Front Page Post Display</h3>
<p><strike>You may or may not have noticed that only the four most recent posts display on the Cutline home page (in the main content portion of the page, not the sidebar). The WordPress default displays the ten most recent posts, so how did I constrain it to only show four posts?</strike></p>
<ol>
<li><strike>In the WordPress Administration panel, click on the <strong>Options</strong> link in the navigation menu.</strike></li>
<li><strike>Next, click on the <strong>Reading</strong> link in the sub-navigation menu.</strike></li>
<li><strike>The default setting is likely “Show at most 10 posts.” You can make that number whatever you like. Again, I use 4 for this test installation.</strike></li>
</ol>
<p><img class="center" src="http://cutline.tubetorial.com/images/reading_options.gif" width="470" height="114" alt="Image showing the reading options in the WordPress Administration panel" /></p>
<p><strike>Personally, I think it&#8217;s a good idea to limit the number of posts that show up on a page if your site is light on the content. If, however, you crank out articles in machine-like fashion, then you should either leave the number of posts at 10 or else raise it up to accommodate your rapid-fire style.</strike></p>
<p><strong>Update:</strong> I am now showing 10 posts on the front page. This has made the site easier to navigate, and it also makes the archives far more usable.</p>
<p>I&#8217;m almost to the point now where I think you ought to display as much information on the front page as possible without sacrificing loading times. So, if you post a lot of images or videos, you may want to limit the total number of posts that display on the front page in order to achieve faster loading times for the widest array of users. However, if you post a lot of text and only a few images, then 10 or more posts is a sound choice because it allows users to access more information at once.</p>
<h3>Images</h3>
<p>Whoooaaa, nelly! Images are so important that they got their own post. Read up on <a href="http://cutline.tubetorial.com/image-handling-with-cutline/">Image Handling with Cutline</a>.</p>
<div id="crp_related"><h3>You might also enjoy:</h3><ul><li><a href="http://cutline.tubetorial.com/how-to-add-navigation-links/" rel="bookmark" class="crp_title">How to Add Navigation Links</a></li><li><a href="http://cutline.tubetorial.com/how-to-improve-your-front-page-and-gain-page-views-in-10-seconds/" rel="bookmark" class="crp_title">How to Improve Your Front Page and Gain Page Views in 10 Seconds!</a></li><li><a href="http://cutline.tubetorial.com/image-handling-with-cutline/" rel="bookmark" class="crp_title">Image Handling with Cutline</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://cutline.tubetorial.com/professional-posting-with-cutline/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
	</channel>
</rss>
