<?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>WordPress Rocks! &#187; blockquote</title>
	<atom:link href="http://wprocks.com/tags/blockquote/feed/" rel="self" type="application/rss+xml" />
	<link>http://wprocks.com</link>
	<description>Commentary by Sadish on WordPress and his Themes</description>
	<lastBuildDate>Wed, 28 Dec 2011 04:02:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to have a stylish blockquote as in Magazines?</title>
		<link>http://wprocks.com/wordpress-tips/how-to-have-a-stylish-blockquote-as-in-magazines/</link>
		<comments>http://wprocks.com/wordpress-tips/how-to-have-a-stylish-blockquote-as-in-magazines/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 13:25:38 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[WordPress Tips]]></category>
		<category><![CDATA[blockquote]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://wprocks.com/?p=200</guid>
		<description><![CDATA[Recently Francesco asked us <a href="http://wprocks.com/forums/comments.php?DiscussionID=1171" title="How to have a stylish blockquote as in Magazines?">How to have a stylish blockquote as in Magazines?</a> in our support forums.
He actually provided a site where he saw a blockquote style that he liked and I looked into it.
This post explains how to achieve a similar effect on your blog.]]></description>
			<content:encoded><![CDATA[<p>Recently Francesco asked me <a href="http://wprocks.com/forums/comments.php?DiscussionID=1171" title="How to have a stylish blockquote as in Magazines?">How to have a stylish blockquote as in Magazines?</a> in our support forums.<br />
He actually provided a site where he saw a blockquote style that he liked and I looked into it.<br />
<span id="more-200"></span><br />
He wanted his blockquotes to look like the following image.<br />
<img src="http://wprocks.com/wp-content/uploads/2008/04/blockquote.jpg" alt="BlockQuote Screenshot" title="blockquote" /></p>
<p>I looked into the &#8220;View Source&#8221; of it and it looked something like this.<br />
<code>&lt;div class="quoteborder"&gt;<br />&lt;div align="center" style="width:150px; margin:6px 0px 6px 0px;"&gt;<br />&lt;span class="quote"&gt;&#8220;&lt;/span&gt;<br />&lt;span class="quotetext"&gt;your quote is entered within this span.&lt;/span&gt;<br />&lt;span class="quote"&gt;&#8221; &lt;/span&gt;<br />&lt;div class="quoteborder" style="margin:6px 0px 0px 0px;"&gt;&lt;/div&gt;<br />&lt;/div&gt;&lt;/div&gt;</code></p>
<p>&#8220;your quote is entered within this span&#8221; is the actual text that we want to be displayed in the magazine style, but see how it is surrounded by so much code.</p>
<p>What are the potential issues that might arise when using such technique.<br />
Your page becomes &#8220;bloated&#8221; with so much code.<br />
This is bad because<br />
a) it increases the overall size of the page and the overall bandwidth your site uses.<br />
b) it affects in a bad way for Search Engine Optimization. [Search Engines like to see less of the HTML code and more of your content]<br />
c) it increases the probabilty of you making a syntax error when pasting the code.<br />
d) The visual editor in WordPress might screw up all your code, unless you know how to do it the right way.</p>
<p>Is there any other way of achieving a similar style with less code?</p>
<p>We basically want the blockquote text to float on the right, with about 150px width. We also need a thick line at the top and at the bottom. How about doing this.<br />
Step 1 : Add a class=&#8221;magazinequote&#8221; to the blockquote that we want to have this special style.<br />
Step 2 : Define the styles for this class at the end of style.css<br />
Something like<br />
<code><br />
blockquote.magazinequote<br />
{<br />
float:right;<br />
font-family:Georgia, Arial, Serif;<br />
font-size:1.25em;<br />
background:none;<br />
width:150px;<br />
border-top:#4C739E 3px solid;<br />
border-bottom:#4C739E 3px solid;<br />
margin:1em;<br />
padding:1em;<br />
color:#4C739E;<br />
}<br />
</code></p>
<p>I hope this is much cleaner and leaner and is an efficient way of achieving a similar result. what do you guys and gals think?</p>
]]></content:encoded>
			<wfw:commentRss>http://wprocks.com/wordpress-tips/how-to-have-a-stylish-blockquote-as-in-magazines/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

