<?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>Frugle &#187; css edit</title>
	<atom:link href="http://frugle.com/tag/css-edit/feed/" rel="self" type="application/rss+xml" />
	<link>http://frugle.com</link>
	<description>Plugged In To Save You Money</description>
	<lastBuildDate>Thu, 04 Mar 2010 19:15:23 +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>Getting the most from CSSEdit</title>
		<link>http://frugle.com/2009/11/getting-the-most-from-cssedit/</link>
		<comments>http://frugle.com/2009/11/getting-the-most-from-cssedit/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 15:34:29 +0000</pubDate>
		<dc:creator>rmclain</dc:creator>
				<category><![CDATA[Good Deals]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[css edit]]></category>
		<category><![CDATA[css editor]]></category>

		<guid isPermaLink="false">http://frugle.com/?p=170</guid>
		<description><![CDATA[

Like many Mac users I love when MacHeist releases a new bundle.  In a previous bundle, they included CSSEdit, a style sheet editor that was suppose to be easy and quick.  I had never used CSSEdit, but I did notice that a lot of people were.  Even though the price has gone [...]]]></description>
			<content:encoded><![CDATA[<div class="LessonContent">
<div class="LessonSummary">
<p>Like many Mac users I love when MacHeist releases a new bundle.  In a previous bundle, they included CSSEdit, a style sheet editor that was suppose to be easy and quick.  I had never used <a href="http://macrabbit.com/cssedit/">CSSEdit</a>, but I did notice that a lot of people were.  Even though the price has gone up, because of the change in the Euro, it&#8217;s still a great CSS Editor.  However, I don&#8217;t think that it&#8217;s super simple to get started using it, and therefore usually gets tossed aside.  So let&#8217;s take a look at how to get the most from CSS Edit.</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">Getting started</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257208180227.png" alt="media_1257208180227.png" width="255" height="245" /></div>
<div class="StepInstructions">
<p>Let&#8217;s being with downloading the trial version of <a href="http://macrabbit.com/cssedit/">CSSEdit</a>.  Which you can get for free and save files upto 2500 characters.</div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">Sample file</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257208582200.png" alt="media_1257208582200.png" width="241" height="429" /></div>
<div class="StepInstructions">
<p>To ensure that we are all on the same page for this tutorial, I suggest downloading the same sample file and sample css.  I am going to be using the sample files from csszengarden.  If you have never seen the Zen Garden it&#8217;s a fun site that can be completely redesigned in css.  They have many different versions of their same page.  So it&#8217;s a fun site to redesign.   So let&#8217;s download file (1) and file (2).  Next put these two files in the same place and rename the css file to &#8220;sample.css&#8221;.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">cssedit</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257208908917.png" alt="media_1257208908917.png" width="532" height="200" /></div>
<div class="StepInstructions">
<p>Now, let&#8217;s start up css edit and select what file we would like to work with. Once it launches, click File-&gt;New Style  Sheet.  Then click preview.  Now, just drag your html file you downloaded in the previous step into the preview window. You should see the file in the window.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">override</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257209004009.png" alt="media_1257209004009.png" width="382" height="347" /></div>
<div class="StepInstructions">
<p>Next we want to override the style that is attached.  The black Style Sheets hover window should show the style sheets attached.  If not, place the sample file in your Sites/ folder and enable web sharing.  Then you should be able to browse to localhost/~username/sample.html.  Now you should see Extract and Override.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">extracted-sample</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257209886415.png" alt="media_1257209886415.png" width="532" height="384" /></div>
<div class="StepInstructions">
<p>Now in our cssedit window we should see our extracted-sample.css file is loaded.  The top of this file should say to override our previous sample.css.  Now the fun part begins.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">fresh start</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257210176709.png" alt="media_1257210176709.png" width="532" height="456" /></div>
<div class="StepInstructions">
<p>So now we are going to apply our new styles using this editor window.  I&#8217;m going to begin by clearing out everything in the main window.  This will give us a fresh start on the file.  You will see that this updates in the preview window as well.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">new theme</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257210466136.png" alt="media_1257210466136.png" width="532" height="57" /></div>
<div class="StepInstructions">
<p>Now we are going to add a new theme to this window.  If we want to see what elements to select we can just click the x-ray in the preview window.  For example the css Zend is located at the css selection path of html body #css-zen-garden div#container div#intro div#pageHeader h1.  This is great but we probably want all h1 elements to be rendered the same.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">making changes</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257211086518.png" alt="media_1257211086518.png" width="532" height="365" /></div>
<div class="StepInstructions">
<p>So, lets get some of the basic styles out of the way for our design. I am going to make this page look like it&#8217;s on a e-book reader.  Just for a simple example.  So after apply a few styles, we have what looks to be like a electronic paper style.  Here are the styles applied so far.</p></div>
</div>
<div class="LessonStep top">
<div class="StepInstructions">
<pre>
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
body{font:13px/1.5 Arial, Helvetica, sans-serif}a:focus{outline:1px dotted}hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}h1{font-size:25px}h2{font-size:23px}h3{font-size:21px}h4{font-size:19px}h5{font-size:17px}h6{font-size:15px}ol{list-style:decimal}ul{list-style:disc}li{margin-left:30px}p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset{margin-bottom:20px}
body {
background-color: rgb(238, 238, 238);
color: rgb(51, 51, 51);
display: block;
font-size: 26px;
}
div#container{
margin: 0 auto;
font-size: 26px;
line-height: 36px;
max-width: 800px;
text-align: left;
width: 600px;
}
</pre>
</div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">cssedit beauty</h3>
<div class="StepInstructions">
<p>So the beauty of using cssedit is that we now have a visual update of all our changes to the style.  If you are new to css it even provides for applying styles usuing their visual editor.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">visual editor</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257211620631.png" alt="media_1257211620631.png" width="532" height="336" /></div>
<div class="StepInstructions">
<p>Let&#8217;s edit the title of this using the visual editor.  The first thing we need to do is to defin what element we want to edit.  Using the xray in the preview click css Zen Garden.  Now we see the path, mentioned above.  So we are just going to change all h1 elements.  Start by typing in the editor  &#8221; h1 { &#8221; (without quotes of course) now on the right apply your changes.  All changes are updated automatically.  Here i have added in the visual editor the following:</p>
<pre>
h1{
color: #5e5e5e;
font-size: 2em;
font-style: italic;
font-variant: small-caps;
text-align: center;
line-height: 1.5em;
}
</pre>
<p>The result is shown above.  Since I&#8217;m going for the electronic paper look, I&#8217;m almost donw.  There are a few more styles that I&#8217;m going to apply using the wysiwyg editor.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">new look</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257212583425.png" alt="media_1257212583425.png" width="532" height="592" /></div>
<div class="StepInstructions">
<p>So this is my new look, it&#8217;s nothing great, but it does illustrate just how easy it is to apply css quickly to a document.  Let&#8217;s look a few other features of CSSEdit.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">validation</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257212747283.png" alt="media_1257212747283.png" width="187" height="229" /></div>
<div class="StepInstructions">
<p>CSSEdit provide W3 validation for css 2.0 and css 3.0.  Clicking validate on the toolbar will validate the css in the main document body.  It shows us tat we have a error on the reset/text css that we added earlier.  We can either ignore this error or remove/fix this part of the css.  It seems hat content: is not a valid.  So if we remove this we have and click validate again, we have a valid css file.  This is very useful.</p></div>
</div>
<div class="LessonStep top">
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257212884445.png" alt="media_1257212884445.png" width="186" height="226" /></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">re-indent</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257212997672.png" alt="media_1257212997672.png" width="196" height="333" /></div>
<div class="StepInstructions">
<p>CSSEdit also adds the ability to automatically format the css to look &#8220;pretty&#8221;.  This is useful if you can&#8217;t stand poorly formatted css or you download css from somewhere that has been compressed and is very hard to read.</p></div>
</div>
<div class="LessonStep top">
<h3 class="StepTitle" style="font-size:20px;">Wrap up</h3>
<div class="StepImage" style="margin:10px 0px;"><img style="padding:3px; border: 1px solid #ccc;" src="http://frugle.com/wp-content/uploads/2009/11/media_1257214015224.png" alt="media_1257214015224.png" width="532" height="651" /></div>
<div class="StepInstructions">
<p>That&#8217;s pretty much it for using CSSEdit.  The next thing to do is either copy &amp; past our css or export it to another document.  When you export you can select all the documents that you want to attached to and remove existing styles from those documents first. So after a few more minot tweeks we can see the final design.  It&#8217;s nothing fancy, but just shows how easy to use CSSEdit is.   This blog &amp; myself are not sponsored by <a href="http://macrabbit.com/cssedit/">CSSEdit</a>, <a href="http://macrabbit.com/">MacRabbit</a>, or <a href="http://csszengarden.com">CSSZenGarden</a>.</p>
<p>If you are really into css stay tuned for the next post about using jquery ui as a basis for you next project.  Please comment about CSSEdit, or any other CSS tools that you find useful below.  Here is the final css.<br />
<br/></p>
<pre>
/* @override http://localhost/zen-garden/sample.css */

/* reset txt */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent
}

body {
	line-height: 1
}

ol,ul {
	list-style: none
}

blockquote,q {
	quotes: none
}

body {
	font: 13px/1.5 Arial, Helvetica, sans-serif
}

a:focus {
	outline: 1px dotted
}

hr {
	border: 0 #ccc solid;
	border-top-width: 1px;
	clear: both;
	height: 0
}

h1 {
	font-size: 25px
}

h2 {
	font-size: 23px
}

h3 {
	font-size: 21px
}

h4 {
	font-size: 19px
}

h5 {
	font-size: 17px
}

h6 {
	font-size: 15px
}

ol {
	list-style: decimal
}

ul {
	list-style: disc
}

li {
	margin-left: 30px
}

p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset {
	margin-bottom: 20px
}

body {
	background-color: rgb(238, 238, 238);
	color: rgb(51, 51, 51);
	display: block;
	font-size: 26px;
}

div#container {
	margin: 0 auto;
	font-size: 26px;
	line-height: 36px;
	max-width: 800px;
	text-align: left;
	width: 500px;
	padding-right: 150px;
}

h1 {
	color: #5e5e5e;
	font-size: 2em;
	font-style: italic;
	font-variant: small-caps;
	text-align: center;
	line-height: 1.5em;
	border-bottom: thick solid #919191;
}

a {
	color: #919191;
}

div#quickSummary p.p1:first-letter {
	padding-right: 5px;
	font-size: 150%;
	float: left;
	font-style: italic;
}

span acronym {
	color: #009191;
}

h2 {
	border-bottom: thin solid #919191;
}

h3 {
	border-bottom: dotted thin #919191;
}
div#pageHeader h1 span
{
	padding-bottom: 20px;
}
div#linkList {
	position: absolute;
	margin-left: 500px;
	right:0;
	top: 200px;
	padding-right: 20px;
}
div#linkList h3{
	color: #5e5e5e;
}
ul li{
	list-style-image: url(images/bullet.png);
	list-style-position: outside;
	font-size: 20px;
	text-decoration: none;
}
ul li a {
	font-size: 20px;
	text-decoration: none;
	color: #ff1e91;
}
ul li a:hover{
	border-bottom: 2px solid #2d2bfa;
}

p.p5 span a{
	color: #ff9123;
	font-style: italic;
	text-decoration: none;
}
</pre>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://frugle.com/2009/11/getting-the-most-from-cssedit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
