<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Checkbox Label Positioning in CSS</title>
	<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning</link>
	<description>Alex King's blog - software, photography, sports, etc.</description>
	<pubDate>Fri, 08 Aug 2008 18:54:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: tom</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-57515</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Tue, 21 Aug 2007 04:02:08 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-57515</guid>
		<description>Thanks for this nice aritcle. using it on my form and works awesome.
thanks for the effort and the sharing!</description>
		<content:encoded><![CDATA[<p>Thanks for this nice aritcle. using it on my form and works awesome.<br />
thanks for the effort and the sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Style Forms in CSS &#171; Kenjun</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-57421</link>
		<dc:creator>How to Style Forms in CSS &#171; Kenjun</dc:creator>
		<pubDate>Sat, 11 Aug 2007 14:51:54 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-57421</guid>
		<description>[...] http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning" >http://alexking.org/[...]-positioning</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: km</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-31187</link>
		<dc:creator>km</dc:creator>
		<pubDate>Wed, 13 Sep 2006 22:39:21 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-31187</guid>
		<description>some HTML?</description>
		<content:encoded><![CDATA[<p>some HTML?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-31185</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 13 Sep 2006 22:37:05 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-31185</guid>
		<description>That doesn't move the checkboxes in from the left as explained above.</description>
		<content:encoded><![CDATA[<p>That doesn&#8217;t move the checkboxes in from the left as explained above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: km</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-31183</link>
		<dc:creator>km</dc:creator>
		<pubDate>Wed, 13 Sep 2006 22:34:24 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-31183</guid>
		<description>what about?

ul.Checkboxes { width : 95px; margin-left: 200px;}
ul.Checkboxes&#62;li { display : inline; }
ul.Checkboxes label { float : right;}</description>
		<content:encoded><![CDATA[<p>what about?</p>
<p>ul.Checkboxes { width : 95px; margin-left: 200px;}<br />
ul.Checkboxes&gt;li { display : inline; }<br />
ul.Checkboxes label { float : right;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Tallent</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-21951</link>
		<dc:creator>Richard Tallent</dc:creator>
		<pubDate>Mon, 01 May 2006 21:22:59 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-21951</guid>
		<description>Here's an alternative (using unordered lists, but easily transformed for DIV). No need for pixel hacks or absolute positioning, gracefully handles different font/checkbox sizes. Works in FF1.5 and IE6, provided you are in standards-compliance mode.

ul.Checkboxes
{
padding:			0em;
margin:				0em;
}

ul.Checkboxes li
{
display:	block;
list-style-type:	none;
clear:		both;
float:		none;
height:		auto;
overflow:	auto;
}

ul.Checkboxes li input
{
display:	block;
float:		left;
}

ul.Checkboxes li label
{
display:	block;
margin-left:	0.2em;
margin-top:	0.1em;
float:		left;
clear:		right;
}</description>
		<content:encoded><![CDATA[<p>Here&#8217;s an alternative (using unordered lists, but easily transformed for DIV). No need for pixel hacks or absolute positioning, gracefully handles different font/checkbox sizes. Works in FF1.5 and IE6, provided you are in standards-compliance mode.</p>
<p>ul.Checkboxes<br />
{<br />
padding:			0em;<br />
margin:				0em;<br />
}</p>
<p>ul.Checkboxes li<br />
{<br />
display:	block;<br />
list-style-type:	none;<br />
clear:		both;<br />
float:		none;<br />
height:		auto;<br />
overflow:	auto;<br />
}</p>
<p>ul.Checkboxes li input<br />
{<br />
display:	block;<br />
float:		left;<br />
}</p>
<p>ul.Checkboxes li label<br />
{<br />
display:	block;<br />
margin-left:	0.2em;<br />
margin-top:	0.1em;<br />
float:		left;<br />
clear:		right;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-12210</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 03 Apr 2006 10:37:58 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-12210</guid>
		<description>thanks. i nearly had given up to align the label this way. this tutorial has been a great help for me.</description>
		<content:encoded><![CDATA[<p>thanks. i nearly had given up to align the label this way. this tutorial has been a great help for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-11432</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 19 Feb 2006 09:57:57 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-11432</guid>
		<description>forms are typical tabular data.
what are tables for?</description>
		<content:encoded><![CDATA[<p>forms are typical tabular data.<br />
what are tables for?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-9397</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Mon, 21 Nov 2005 20:53:13 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-9397</guid>
		<description>Nice write up!  The example you gave was very helpful.</description>
		<content:encoded><![CDATA[<p>Nice write up!  The example you gave was very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ubergrafik</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-8279</link>
		<dc:creator>ubergrafik</dc:creator>
		<pubDate>Mon, 26 Sep 2005 02:13:30 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-8279</guid>
		<description>It's all in the line spacing and proximity of the design elements. There is not as much grouping of elements in the above example as there is in the link.</description>
		<content:encoded><![CDATA[<p>It&#8217;s all in the line spacing and proximity of the design elements. There is not as much grouping of elements in the above example as there is in the link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lauire Harper</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6705</link>
		<dc:creator>Lauire Harper</dc:creator>
		<pubDate>Wed, 20 Jul 2005 03:18:34 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6705</guid>
		<description>I was about to say, "The difference with the example is that there's still a label to the left of the checkboxes." But of course that's not true. It's hard to put my finger on why that example 'works' and your original illustration doesn't (for me). 

The grouping in the second example is a lot to do with it; maybe my reaction to the sketch just comes from a lack of context...

Anyway, this is in danger of going from 'cheeky comment' to outright criticism so, before I put your nose out of joint, I'll shut up :)</description>
		<content:encoded><![CDATA[<p>I was about to say, &#8220;The difference with the example is that there&#8217;s still a label to the left of the checkboxes.&#8221; But of course that&#8217;s not true. It&#8217;s hard to put my finger on why that example &#8216;works&#8217; and your original illustration doesn&#8217;t (for me). </p>
<p>The grouping in the second example is a lot to do with it; maybe my reaction to the sketch just comes from a lack of context&#8230;</p>
<p>Anyway, this is in danger of going from &#8216;cheeky comment&#8217; to outright criticism so, before I put your nose out of joint, I&#8217;ll shut up <img src='http://alexking.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe W.</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6704</link>
		<dc:creator>Joe W.</dc:creator>
		<pubDate>Tue, 19 Jul 2005 23:03:37 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6704</guid>
		<description>Umm, tables?  I'm not talking about fifty deep nested tables with spacer gifs, but just a few to keep content from overlapping or falling completely out of place.

Browser-makers have spent over a decade optimizing for table layouts.  Form pages are a grid, why not lay them out that way rather than floating layered boxes?

Frankly, I've seen way too much time wasted on tweaking layout CSS, just to get a simple grid you could code in a table in 2 minutes.  And you'd end up with a page that would actually render correctly on Netscape 4, a Sidekick, etc.

Note: I'm talking solely about CSS Layout.  CSS is awesome for formatting text.</description>
		<content:encoded><![CDATA[<p>Umm, tables?  I&#8217;m not talking about fifty deep nested tables with spacer gifs, but just a few to keep content from overlapping or falling completely out of place.</p>
<p>Browser-makers have spent over a decade optimizing for table layouts.  Form pages are a grid, why not lay them out that way rather than floating layered boxes?</p>
<p>Frankly, I&#8217;ve seen way too much time wasted on tweaking layout CSS, just to get a simple grid you could code in a table in 2 minutes.  And you&#8217;d end up with a page that would actually render correctly on Netscape 4, a Sidekick, etc.</p>
<p>Note: I&#8217;m talking solely about CSS Layout.  CSS is awesome for formatting text.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6696</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 19 Jul 2005 21:02:56 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6696</guid>
		<description>The label is considered part of the "data" for a checkbox - it goes w/ the rest of the data.

Here is a &lt;a href="http://alexking.org/blog/content/2005-07-18/Picture_1.png"&gt;good example&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>The label is considered part of the &#8220;data&#8221; for a checkbox - it goes w/ the rest of the data.</p>
<p>Here is a <a href="http://alexking.org/blog/content/2005-07-18/Picture_1.png">good example</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lauire Harper</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6695</link>
		<dc:creator>Lauire Harper</dc:creator>
		<pubDate>Tue, 19 Jul 2005 20:55:40 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6695</guid>
		<description>I mean positioning the labels to the right of the checkbox when all other labels appear to the right of their respective fields. Personally I find that hideous but, as you say, there's alot of personal preference involved in these things :-)</description>
		<content:encoded><![CDATA[<p>I mean positioning the labels to the right of the checkbox when all other labels appear to the right of their respective fields. Personally I find that hideous but, as you say, there&#8217;s alot of personal preference involved in these things <img src='http://alexking.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6659</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 19 Jul 2005 04:46:50 +0000</pubDate>
		<guid>http://alexking.org/blog/2005/07/18/css-checkbox-label-positioning#comment-6659</guid>
		<description>Huh?</description>
		<content:encoded><![CDATA[<p>Huh?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
