<?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>pro-web.at &#187; css</title>
	<atom:link href="http://pro-web.at/archives/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://pro-web.at</link>
	<description></description>
	<lastBuildDate>Sat, 06 Mar 2010 13:40:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Facebook Connect: Display login button only when not connected to site</title>
		<link>http://pro-web.at/archives/facebook-connect-display-login-button-only-when-not-connected-to-site</link>
		<comments>http://pro-web.at/archives/facebook-connect-display-login-button-only-when-not-connected-to-site#comments</comments>
		<pubDate>Wed, 23 Dec 2009 09:41:12 +0000</pubDate>
		<dc:creator>Daniel Prieler</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Facebook Connect]]></category>

		<guid isPermaLink="false">http://pro-web.at/?p=163</guid>
		<description><![CDATA[Currently i&#8217;m testing the features of Facebook Connect and i ran into troubles:

how to display the login button only if a user has not connected
how to display the image only if a user has connected

My simplest solution was to add some custom css classes:

fb-connecting: when the status of facebook connect is not known. e.g. display [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Currently i&#8217;m testing the features of Facebook Connect and i ran into troubles:</p>
<ul>
<li>how to display the login button only if a user has not connected</li>
<li>how to display the image only if a user has connected</li>
</ul>
<p>My simplest solution was to add some custom css classes:</p>
<ul>
<li>fb-connecting: when the status of facebook connect is not known. e.g. display a &#8220;connecting&#8230;&#8221; message </li>
<li>fb-not-connected: when user is not connected to facebook. e.g. show connect button</li>
<li>fb-connected: when user is connected to facebook. e.g. show user picture and name</li>
</ul>
<p><a href="/blog-content/facebook-connect/">View the demo page</a></p>
<p><span id="more-163"></span></p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #00bbdd;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span> xmlns:fb<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.facebook.com/2008/fbml&quot;</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
&nbsp;
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_GB&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
&nbsp;
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
  $(function() {
    FB_RequireFeatures([&quot;XFBML&quot;], function() {
      FB.Facebook.init(&quot;[[[INSERT APP ID HERE]]]&quot;, &quot;/xd_receiver.htm&quot;);
      FB.Connect.ifUserConnected(function(){
        $('body').addClass('fb-is-connected').removeClass('fb-is-not-connected');
      }, function(){
        $('body').removeClass('fb-is-connected').addClass('fb-is-not-connected');
      });
    });
  });
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
&nbsp;
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">style</span>&gt;</span>
  .fb-connected, .fb-not-connected {
    display: none;
  }
  .fb-is-connected .fb-connecting, .fb-is-not-connected .fb-connecting {
    display: none;
  }
  .fb-is-connected .fb-connected {
    display: block;
  }
  .fb-is-not-connected .fb-not-connected {
    display: block;
  }
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">style</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!-- fb-connecting: display while facebook is connecting --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fb-connecting&quot;</span>&gt;</span>Connecting to Facebook<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!-- fb-not-connected: display when user is not connected to facebook --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fb-not-connected&quot;</span>&gt;</span>
  <span style="color: #009900;">&lt;fb:login-button v<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;2&quot;</span> <span style="color: #000066;">size</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;medium&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span>fb:login-button&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!-- fb-connected #1: display when user is connected to facebook --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fb-connected&quot;</span>&gt;</span>
  <span style="color: #009900;">&lt;fb:profile-pic uid<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loggedinuser&quot;</span> <span style="color: #000066;">size</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;square&quot;</span> facebook-logo<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span>fb:profile-pic&gt;</span>
  <span style="color: #009900;">&lt;fb:<span style="color: #000066;">name</span> uid<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loggedinuser&quot;</span> useyou<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> linked<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span>fb:name&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">&lt;!-- fb-connected #2: actually, you can add the class to the xfbml-tags and do not need a sourrounding div-tag --&gt;</span>
<span style="color: #009900;">&lt;fb:<span style="color: #000066;">name</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fb-connected&quot;</span> uid<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loggedinuser&quot;</span> useyou<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> linked<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;true&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span>fb:name&gt;</span></pre></div></div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://pro-web.at/archives/facebook-connect-display-login-button-only-when-not-connected-to-site/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Counter Test / Auto numbering your google docs headlines with CSS</title>
		<link>http://pro-web.at/archives/css-counter-test-auto-numbering-your-google-docs-headlines-with-css</link>
		<comments>http://pro-web.at/archives/css-counter-test-auto-numbering-your-google-docs-headlines-with-css#comments</comments>
		<pubDate>Mon, 20 Jul 2009 11:25:47 +0000</pubDate>
		<dc:creator>Daniel Prieler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Google Docs]]></category>

		<guid isPermaLink="false">http://pro-web.at/?p=143</guid>
		<description><![CDATA[In the firstplace I did the numbering of the google-docs headlines with css. But the numbering in the google-docs always got messed up after some time, which was caused by:
a) The behaviour of google-docs: It sometimes wraps the headlines in an extra div (which i consider as a bug)
b) Browser limitations of css numbering, if [...]


Related posts:<ol><li><a href='http://pro-web.at/archives/auto-numbering-your-google-docs-headings' rel='bookmark' title='Permanent Link: Auto numbering your google docs headings / headlines'>Auto numbering your google docs headings / headlines</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>In the firstplace I did the numbering of the google-docs headlines with css. But the numbering in the google-docs always got messed up after some time, which was caused by:<br />
a) The behaviour of google-docs: It sometimes wraps the headlines in an extra div (which i consider as a bug)<br />
b) Browser limitations of css numbering, if the numbered elements are not all on the same dom level (because of the extra google-docs div)<br />
<span id="more-143"></span></p>
<h2>Test-Case</h2>
<p>I wrote up some test-cases with diffeerent order of h1/h2/div elements.<br />
As you can see (at least in firefox 3 and google chrome), the numbering does not count up for sub-headlines<br />
(Note: For my post here in wordpress i changed &lt;h1&gt; to &lt;div class=&quot;head1&quot;&gt;)</p>
<style>
.counter-test {
	counter-reset: counter-h1;
}
.counter-test .head1, .counter-test .head2 {
	font-size: 12px;
	padding: 0;
	margin: 0;
}
.counter-test .head1 {
	counter-increment: counter-h1;
	counter-reset: counter-h2;
}
.counter-test .head2 {
	counter-increment: counter-h2;
}
.counter-test .head1:before {
	content: counter(counter-h1) ". ";
	color: #777;
}
.counter-test .head2:before {
	content: counter(counter-h1) "." counter(counter-h2) ". ";
	color: #777;
}</p>
</style>
<p>all counters on one level</p>
<div class="counter-test">
<div class="head1">h1</div>
<div class="head2">h2</div>
<div class="head2">h2</div>
<div class="head1">h1</div>
<div class="head2">h2</div>
<div class="head2">h2</div>
</div>
<p>all counters wrapped in a separate div</p>
<div class="counter-test">
<div>
<div class="head1">h1</div>
</div>
<div>
<div class="head2">h2</div>
</div>
<div>
<div class="head2">h2</div>
</div>
<div>
<div class="head1">h1</div>
</div>
<div>
<div class="head2">h2</div>
</div>
<div>
<div class="head2">h2</div>
</div>
</div>
<p>sub-counters wrapped in a sub-div</p>
<div class="counter-test">
<div>
<div class="head1">h1</div>
</div>
<div>
<div class="head2">h2</div>
<div class="head2">h2</div>
<div>
<div class="head2">h2</div>
</div>
<div>
<div class="head2">h2</div>
</div></div>
<div>
<div class="head1">h1</div>
</div>
<div>
<div class="head2">h2</div>
<div class="head2">h2</div>
</p></div>
<div>
<div class="head2">h2</div>
<div class="head2">h2</div>
</p></div>
</div>
<p>only h2-counters wrappwed</p>
<div class="counter-test">
<div class="head1">h1</div>
<div>
<div class="head2">h2</div>
</div>
<div>
<div class="head2">h2</div>
</div>
<div class="head1">h1</div>
<div>
<div class="head2">h2</div>
</div>
<div>
<div class="head2">h2</div>
</div>
</div>
<h2>My current solution</h2>
<p>If the numbering gets messed up i start firebug and remove the surrounding div of the wrong headline. Maybe i will create a bookmarklet for this task when i get too annoyed at working with google-docs again :)</p>
<h2>css-Stylesheet</h2>
<p>And here&#8217;s my last stylesheet, which i add to all my google-docs.</p>
<p>You can preview a published document <a href="http://docs.google.com/View?id=dckpfphk_35f4xpz7dr" target="_blank">here</a></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">160</span>%</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10pt</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/** HEADLINES **/</span>
h1 <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20pt</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-increment</span><span style="color: #00AA00;">:</span> counter-h1<span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-reset</span><span style="color: #00AA00;">:</span> counter-h2<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h2 <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">17pt</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-increment</span><span style="color: #00AA00;">:</span> counter-h2<span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-reset</span><span style="color: #00AA00;">:</span> counter-h3<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h3 <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14pt</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-increment</span><span style="color: #00AA00;">:</span> counter-h3<span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-reset</span><span style="color: #00AA00;">:</span> counter-h4<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h4 <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">11pt</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-increment</span><span style="color: #00AA00;">:</span> counter-h4<span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-reset</span><span style="color: #00AA00;">:</span> counter-h5<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h5 <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">11pt</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-increment</span><span style="color: #00AA00;">:</span> counter-h5<span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-reset</span><span style="color: #00AA00;">:</span> counter-h6<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h6 <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">11pt</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">counter-increment</span><span style="color: #00AA00;">:</span> counter-h6<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h1<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> counter<span style="color: #00AA00;">&#40;</span>counter-h1<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;. &quot;</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#777</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h2<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> counter<span style="color: #00AA00;">&#40;</span>counter-h1<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h2<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;. &quot;</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#777</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h3<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> counter<span style="color: #00AA00;">&#40;</span>counter-h1<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h2<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h3<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;. &quot;</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#777</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h4<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> counter<span style="color: #00AA00;">&#40;</span>counter-h1<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h2<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h3<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h4<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;. &quot;</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#777</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h5<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> counter<span style="color: #00AA00;">&#40;</span>counter-h1<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h2<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h3<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h4<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h5<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;. &quot;</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#777</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
h6<span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> counter<span style="color: #00AA00;">&#40;</span>counter-h1<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h2<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h3<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h4<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h5<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;.&quot;</span> counter<span style="color: #00AA00;">&#40;</span>counter-h6<span style="color: #00AA00;">&#41;</span> <span style="color: #ff0000;">&quot;. &quot;</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#777</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/** TEXT **/</span>
p <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5pt</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10pt</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">justify</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
li <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">justify</span><span style="color: #00AA00;">;</span>
 <span style="color: #000000; font-weight: bold;">padding-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5pt</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
li p <span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5pt</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
li p<span style="color: #3333ff;">:first-child </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
li p<span style="color: #3333ff;">:last-child </span><span style="color: #00AA00;">&#123;</span>
 <span style="color: #000000; font-weight: bold;">padding-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>



<p>Related posts:<ol><li><a href='http://pro-web.at/archives/auto-numbering-your-google-docs-headings' rel='bookmark' title='Permanent Link: Auto numbering your google docs headings / headlines'>Auto numbering your google docs headings / headlines</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://pro-web.at/archives/css-counter-test-auto-numbering-your-google-docs-headlines-with-css/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
