<?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>Sarah Tebo, web designerTag Archive | css | Sarah Tebo, web designer</title>
	<atom:link href="http://sarahtebo.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://sarahtebo.com</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 16:05:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A simple, styled table</title>
		<link>http://sarahtebo.com/2009/02/a-simple-styled-table/</link>
		<comments>http://sarahtebo.com/2009/02/a-simple-styled-table/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 17:18:54 +0000</pubDate>
		<dc:creator>Sarah Tebo</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://blog.sarahtebo.com/?p=42</guid>
		<description><![CDATA[So how many elections did we have last year? Seems like at least a dozen, though it was probably only about half that. For the bigger elections, like the primaries and the November general election, the Rome News-Tribune had full results pages to show vote totals as they came in. In the smaller elections, though, I just made a simple HTML table that the numbers could easily be inserted into.]]></description>
			<content:encoded><![CDATA[<p>So how many elections did we have last year? Seems like at least a dozen, though it was probably only about half that. For the bigger elections, like the primaries and the November general election, the Rome News-Tribune had full results pages to show vote totals as they came in. In the smaller elections, though, I just made a simple HTML table that the numbers could easily be inserted into. Here&#8217;s an example of the HTML for one of those tables.</p>
<p>What it looks like:</p>
<table style="border-collapse: collapse;" border="1" cellpadding="5" width="300" bgcolor="#ffffff">
<tbody>
<tr>
<th colspan="2"><span style="color: #000000;">xx of xx precincts reporting</span></th>
</tr>
<tr>
<th colspan="2"><span style="color: #000000;">Office 1</span></th>
</tr>
<tr>
<td width="240"><span style="color: #000000;">Candidate 1</span></td>
<td width="60"><span style="color: #000000;">xx</span></td>
</tr>
<tr>
<td><span style="color: #ff0000;">Candidate 2</span></td>
<td><span style="color: #ff0000;">xx</span></td>
</tr>
<tr>
<td><span style="color: #000000;">Candidate 3</span></td>
<td><span style="color: #000000;">xx</span></td>
</tr>
<tr>
<td><span style="color: #000000;">Candidate 4</span></td>
<td><span style="color: #000000;">xx</span></td>
</tr>
<tr>
<th colspan="2" width="300"><span style="color: #000000;">Office 2</span></th>
</tr>
<tr>
<td><span style="color: #000000;">Candidate 2</span></td>
<td><span style="color: #000000;">xx</span></td>
</tr>
<tr>
<td><span style="color: #000000;">Candidate 3</span></td>
<td><span style="color: #000000;">xx</span></td>
</tr>
<tr>
<td><span style="color: #ff0000;">Candidate 4</span></td>
<td><span style="color: #ff0000;">xx</span></td>
</tr>
</tbody>
</table>
<p>Your table may look a little different because of the styles on this page, but it&#8217;s pretty much what you see above. Obviously, this can be used for any table you need, and to make more categories, just copy and paste. And now for the code:</p>
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://sarahtebo.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=42&amp;download=table.txt">table.txt</a></span>
<div class="codebox_clear"></div>
</div>
<div class="wp_codebox">
<table>
<tr id="p421">
<td class="code" id="p42code1">
<pre class="html" style="font-family:monospace;">&lt;table style=&quot;border-collapse: collapse;&quot; border=&quot;1&quot; cellpadding=&quot;5&quot; width=&quot;300&quot; bgcolor=&quot;#ffffff&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th colspan=&quot;2&quot;&gt;&lt;span style=&quot;color: #000000;&quot;&gt;xx of xx precincts reporting&lt;/span&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th colspan=&quot;2&quot;&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Office 1&lt;/span&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;240&quot;&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Candidate 1&lt;/span&gt;&lt;/td&gt;
&lt;td width=&quot;60&quot;&gt;&lt;span style=&quot;color: #000000;&quot;&gt;xx&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;Candidate 2&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;xx&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Candidate 3&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;xx&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Candidate 4&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;xx&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th colspan=&quot;2&quot; width=&quot;300&quot;&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Office 2&lt;/span&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Candidate 2&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;xx&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;Candidate 3&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style=&quot;color: #000000;&quot;&gt;xx&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;Candidate 4&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;xx&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</td>
</tr>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sarahtebo.com/2009/02/a-simple-styled-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS for quote box with photo</title>
		<link>http://sarahtebo.com/2008/07/css-for-quote-box-with-photo/</link>
		<comments>http://sarahtebo.com/2008/07/css-for-quote-box-with-photo/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 23:45:49 +0000</pubDate>
		<dc:creator>Sarah Tebo</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://blog.sarahtebo.com/?p=24</guid>
		<description><![CDATA[I worked on MagnoliaWoman.com, a Web site for a new woman's magazine, for several weeks. One of the last things I did was design a page for the "She Said" feature, which uses quotes and photos of local women. My editor wanted to use all the quotes and all the pictures on the Web site, so I had to find a way to package them attractively.]]></description>
			<content:encoded><![CDATA[<div><img class="aligncenter size-full wp-image-235" title="quotebox" src="http://sarahtebo.com/wp-content/uploads/2008/07/quotebox.jpg" alt="" width="521" height="135" /></div>
<p>I worked on MagnoliaWoman.com, a Web site for a new woman&#8217;s magazine, for several weeks. One of the last things I did was design a page for the &#8220;She Said&#8221; feature, which uses quotes and photos of local women. My editor wanted to use all the quotes and all the pictures on the Web site, so I had to find a way to package them attractively.</p>
<p>I think this CSS styling worked nicely. It&#8217;s very customizable for colors, etc., and the empty div at the end ensures that it will work even if you have a short quote that doesn&#8217;t take up the whole box.</p>
<p>In my example, I&#8217;ve used a Homer Simpson quote, because nobody gives good quote like Homer.</p>
<p>Here&#8217;s the CSS and HTML:</p>
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://sarahtebo.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=24&amp;download=quoteboxcss.txt">quoteboxcss.txt</a></span>
<div class="codebox_clear"></div>
</div>
<div class="wp_codebox">
<table>
<tr id="p242">
<td class="code" id="p24code2">
<pre class="html" style="font-family:monospace;">quotebox {
width:500px;
display:block;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
padding: 10px;
border:3px double #CCC;
border-width:3px 0;
color:#333;
background-color:#f0f0f0;
font-size: 16px;
font-family: Georgia;}
.quotebox img {
 float: left;
margin: 8px;
width: 50px;
border: 5px solid #fff; }
.after { clear:both;}</pre>
</td>
</tr>
</table>
</div>
<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left2">Download <a href="http://sarahtebo.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=24&amp;download=quoteboxhtml.txt">quoteboxhtml.txt</a></span>
<div class="codebox_clear"></div>
</div>
<div class="wp_codebox">
<table>
<tr id="p243">
<td class="code" id="p24code3">
<pre class="html" style="font-family:monospace;">&lt;div class=&quot;quotebox&quot;&gt;
&lt;img src=&quot;photoURLhere&quot; alt=&quot;alternatetexthere&quot; /&gt;
&lt;p&gt;Quote quote quote quote quote quote quote quote&lt;/p&gt;
&lt;div class=&quot;after&quot;&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
</td>
</tr>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sarahtebo.com/2008/07/css-for-quote-box-with-photo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

