<?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>The Geekorium &#187; html</title>
	<atom:link href="http://the.geekorium.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://the.geekorium.com</link>
	<description>Home of Rex Havoc, Space Adventurer and other assorted Geekeries.</description>
	<lastBuildDate>Fri, 18 May 2012 09:30:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Add characters quickly to a wave</title>
		<link>http://the.geekorium.com/add-characters-quickly-to-a-wave/</link>
		<comments>http://the.geekorium.com/add-characters-quickly-to-a-wave/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 07:04:36 +0000</pubDate>
		<dc:creator>screenbeard</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[bots]]></category>
		<category><![CDATA[characters]]></category>
		<category><![CDATA[editing]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://firstwaves.org/post/224664353</guid>
		<description><![CDATA[Wave has a WYSIWYG interface for styling your blips. For those of us used to working on the web however, the default Bold/Italic/Dot-point tools can leave a lot to be desired. Many wont have a character pallet handy, or remember the windows/mac keyboard codes for producing various glyphs either. But if you’ve worked on the [...]<p><a href="http://the.geekorium.com/add-characters-quickly-to-a-wave/">Add characters quickly to a wave</a> is a post from: <a href="http://the.geekorium.com">The Geekorium</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Wave has a <span class="caps">WYSIWYG </span>interface for styling your blips. For those of us used to working on the web however, the default Bold/Italic/Dot-point tools can leave a lot to be desired. Many wont have a character pallet handy, or remember the windows/mac keyboard codes for producing various glyphs either. But if you’ve worked on the web long enough, you might be familiar with <span class="caps">HTML</span>/unicode character entities such as <code>&amp;amp;amp;</code> (&amp;) and <code>&amp;amp;bull;</code></p>

<p>If you need to add various characters to your waves, and <strong>are</strong> familiar with <span class="caps">HTML </span>entities, then the Character Entity bot might be what you need. Add <code>character-entity@appspot.com</code> to your wave, and whenever you write a character (in the format <code>&amp;amp;code;</code>) the bot will happily convert the code into the correct characters for you.</p>

<p>Here are a few to try:</p>

<ul>	<li><code>&amp;amp;copy;</code> becomes Â©</li>
	<li><code>&amp;amp;harr;</code> becomes ?</li>
	<li><code>&amp;amp;there4;</code> becomes ?</li>
</ul>

<p>(A more detailed list can be found at <a href="http://www.intuitive.com/coolweb/entities.html">Intuitive Systems</a>)</p>

<p><a href="http://wave-samples-gallery.appspot.com/about_app?app_id=58008">Character Entity Bot [Google Code]</a><br/></p><p><a href="http://the.geekorium.com/add-characters-quickly-to-a-wave/">Add characters quickly to a wave</a> is a post from: <a href="http://the.geekorium.com">The Geekorium</a></p>
]]></content:encoded>
			<wfw:commentRss>http://the.geekorium.com/add-characters-quickly-to-a-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Positioning Tricks for Beginners</title>
		<link>http://the.geekorium.com/css-positioning-tricks-for-beginners/</link>
		<comments>http://the.geekorium.com/css-positioning-tricks-for-beginners/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 03:50:04 +0000</pubDate>
		<dc:creator>screenbeard</dc:creator>
				<category><![CDATA[Rambling]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://nunnone.com/?p=394</guid>
		<description><![CDATA[These few things are not advanced CSS tricks. They aren't things that other CSS coders won't already know. They're probably obvious to anyone who bothered to read the CSS specification. But they're my early mistakes, and they're hard learned through through trial and error and checking my code against the beautiful code of my superiors. I offer them in the hopes they might help someone, and so I might remember them for next time.<p><a href="http://the.geekorium.com/css-positioning-tricks-for-beginners/">CSS Positioning Tricks for Beginners</a> is a post from: <a href="http://the.geekorium.com">The Geekorium</a></p>
]]></description>
			<content:encoded><![CDATA[<p><figure><a href="http://commons.wikipedia.org/wiki/Image:CSS.svg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/86/CSS.svg/202px-CSS.svg.png" alt="A graphical depiction of a very simple css doc..."/></a><figcaption>Image via <a href="http://commons.wikipedia.org/wiki/Image:CSS.svg">Wikipedia</a></figcaption></figure></p>

<p> I’d not call myself a website coding guru. In fact, my learning has only really started. In creating the [design for my site-&gt;claim theme], I’ve learned a couple of important <a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="Cascading Style Sheets" rel="wikipedia"><span class="caps">CSS</span></a> coding tricks that I had to learn from disparate sources all over the web. I hope by putting them here that I’ll cement them in my own brain, and maybe they’ll help you too. They’re elementary things but they may not be obvious at first glance.</p>

<p><span id="more-249"></span></p>

<h3>Understanding “position:absolute”</h3>
The selector <code>position:absolute</code> is relative to the closest parent element explicitly marked with <code>position:relative</code>. If nothing is marked with <code>position:relative</code> the element will be absolute from the top of the page.

<p>In my theme, I wanted to attach the post <a href="http://en.wikipedia.org/wiki/Metadata" title="Metadata" rel="wikipedia" class="zem_slink">meta-information</a> in its own seperate column on the left there. In the flow of the page, the meta-information sits above the entry.</p>

<p>This is my <span class="caps">HTML</span>:<br />

<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;post&quot;&gt;
	&lt;div class=&quot;postmetatext&quot;&gt;
		&lt;p&gt;Post meta-information&lt;/p&gt;
	&lt;/div&gt;
	&lt;h2&gt;Post Title&lt;/h2&gt;
	&lt;div class=&quot;entry&quot;&gt;
		[...]
	&lt;/div&gt;
&lt;/div&gt;
</pre>
</p>

<p>The problem with positioning elements is that if I move the “postmetatext” element to the left, the following heading and the “entry” div get shifted as well. What I want is to keep them in the flow, but move the “postmetatext” div outside the margins of the “post” div.</p>

<p>To force the div marked “postmetatext” outside the margins, I had to use <code>position:absolute</code>, but then the text sat in a position that was absolutely aligned with the top of the page. By marking up the “post” div with <code>position:relative</code>, I reset the absolute positioning on the “postmetatext” child element.</p>

<p>The <span class="caps">CSS</span>:<br />

<pre class="brush: css; title: ; notranslate">
.post {
position:relative;
}
.postmetatext {
top:0.3em;  /* This shifts the text down to align with the top of the heading below */
left:-10em; /* This shifts the text to the left */
position:absolute;
}
</pre>
</p>

<h3>Don’t use “padding” for positioning when “margin” will do</h3>

<p>Internet Explorer will give you grief if you rely exclusively on padding for positioning. I can’t think why you might, but one of my rookie mistakes was using padding a little too liberally, and fantastic layouts were entirely ruined on <span class="caps">IE.</span> By using the margin selector where it made no difference otherwise, I created a layout that works in pretty much every browser I threw at it.</p>

<h3>But don’t use “margin” for positioning absolute elements</h3>
In the example above, I used <code>top</code> and <code>left</code> to spin the post meta-information out into the left column. Again, this will save you grief in IE and works well cross-browser. Using <code>margin</code> in combination with <code>position:relative</code> can be very unpredictable from browser to browser.

<h3>The cure-all: clear:both</h3>
This is the answer to all your problems. Inline elements stacking on top of each other? <code>clear:both</code>. Footer hovering up near your header? <code>clear:both</code>. Wife nagging you to take out the garbage?<code>clear:both</code>.

<p><span class="caps">OK, </span>so it’s not going to fix all your problems, but when you’re using floats, clear:both will help put everything back in it’s place when everything is riding up all in your face. A floated element will sit to the right (or left) of the previous element unless “cleared” You can clear to the left or right, but clear:both tells the element to shove down and stay below the previous element regardless of what else is going on. Perhaps I over-use it in my designs, but it seriously solves so many problems I just can’t help myself.</p>

<h3>I know, I know</h3>
These few things are not advanced <span class="caps">CSS </span>tricks. They aren’t things that other <span class="caps">CSS </span>coders won’t already know. They’re probably obvious to anyone who bothered to read the <span class="caps">CSS </span>specification. But they’re my early mistakes, and they’re hard learned through through trial and error and checking my code against the beautiful code of my superiors. I offer them in the hopes they might help someone, and so I might remember them for next time.<p><a href="http://the.geekorium.com/css-positioning-tricks-for-beginners/">CSS Positioning Tricks for Beginners</a> is a post from: <a href="http://the.geekorium.com">The Geekorium</a></p>
]]></content:encoded>
			<wfw:commentRss>http://the.geekorium.com/css-positioning-tricks-for-beginners/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CushyCMS — easy website editing</title>
		<link>http://the.geekorium.com/cushycms/</link>
		<comments>http://the.geekorium.com/cushycms/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 05:34:40 +0000</pubDate>
		<dc:creator>screenbeard</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[cushycms]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://nunnone.com/?p=180</guid>
		<description><![CDATA[Probably the most fantastic approach I've found so far is <a href="http://www.cushycms.com/" title="CushyCMS - Take the work out of managing content">CushyCMS</a>. CushyCMS lets you define editable areas in your plain HTML then lets your client edit a page's content without touching the page itself.<p><a href="http://the.geekorium.com/cushycms/">CushyCMS — easy website editing</a> is a post from: <a href="http://the.geekorium.com">The Geekorium</a></p>
]]></description>
			<content:encoded><![CDATA[<p><figure><a href="http://www.cushycms.com/"><img src="http://kwout.com/cutout/w/83/c3/6t9_bor_rou_sha.jpg" alt="http://www.cushycms.com/" title="CushyCMS - Take the work out of managing content" width="256" height="72" style="border:none;"/></a> <figcaption><a href="http://www.cushycms.com/">CushyCMS — Take the work out of managing content</a> via <a href="http://kwout.com/quote/w83c36t9">kwout</a></figcaption></figure></p>

<p>I’m researching what might be the best approach for creating a web page for a client with some limitations (i.e. html only hosting). Probably the most fantastic approach I’ve found so far is <a href="http://www.cushycms.com/" title="CushyCMS - Take the work out of managing content">CushyCMS</a>. CushyCMS lets you define editable areas in your plain <span class="caps">HTML </span>then lets your client edit a page’s content without touching the page itself.</p>

<p><span id="more-96"></span></p>

<p>It’s similar to Adobe Dreamweaver or Contribute’s template functions, where users can only edit the sections you define as editable. Unlike Dreamweaver though, it’s cross-platform, and doesn’t have a $400 price tag. An extra bonus is that the client doesn’t have to buy it either. I’ve also looked at a number of similar programs — Rapidweaver, iWeb, Frontpage (and its progeny Expression Studio), and they all have the same fatal flaw in this case, I work on Linux and Apple, and the client works on Windows. So I could create the site, but there’d be no easy way for them to edit it without learning to get around a <span class="caps">HTML </span>editor, or letting them touch it in Dreamweaver. I’ve also looked at creating a <span class="caps">CMS </span>for them — but their hosting is <span class="caps">HTML </span>only. Really, CushyCMS is the closest I’ve come to a solution that keeps it simple, while giving me the options I need.</p>

<p>Of course there are downsides. The client has to use a third party site to edit their pages — which to some people might not be as ‘professional’ as they’d like. The system also relies on the uptime of CushyCMS — if it goes down when a client wants to update — there’d be nothing I could do about it. Another restriction (although the creators say it’s a design choice for now) is that a client could not create a new page themselves on the fly. Creating a new page requires uploading a new one and setting it up for editing by the client. It’s an easy task, but not fantastic for quick site changes.</p>

<p>All in all though, it looks good. And it’s made by an Australian company — <a href="http://www.statelesssystems.com/" title="Stateless Systems">Stateless Systems</a>, creators of Bugmenot, Retailmenot, and a few other sites — which gets it bonus points. It’s free at the moment. In future they might offer paid plans — and I might even pay a bit extra to put my branding on it, or host a version on my own site.</p><p><a href="http://the.geekorium.com/cushycms/">CushyCMS — easy website editing</a> is a post from: <a href="http://the.geekorium.com">The Geekorium</a></p>
]]></content:encoded>
			<wfw:commentRss>http://the.geekorium.com/cushycms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

