<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Required: CSS islands</title>
	<atom:link href="http://prettyprint.me/2009/06/03/required-css-islands/feed/" rel="self" type="application/rss+xml" />
	<link>http://prettyprint.me/2009/06/03/required-css-islands/</link>
	<description>by Ran Tavory</description>
	<lastBuildDate>Mon, 01 Aug 2011 08:29:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Udi</title>
		<link>http://prettyprint.me/2009/06/03/required-css-islands/comment-page-1/#comment-29</link>
		<dc:creator>Udi</dc:creator>
		<pubDate>Sat, 31 Oct 2009 21:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://prettyprint.me/?p=114#comment-29</guid>
		<description>Ran,

Have you seen http://code.google.com/p/cleanslatecss/ ?

Udi</description>
		<content:encoded><![CDATA[<p>Ran,</p>
<p>Have you seen <a href="http://code.google.com/p/cleanslatecss/" rel="nofollow">http://code.google.com/p/cleanslatecss/</a> ?</p>
<p>Udi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://prettyprint.me/2009/06/03/required-css-islands/comment-page-1/#comment-28</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Sun, 16 Aug 2009 20:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://prettyprint.me/?p=114#comment-28</guid>
		<description>A CSS island isn&#039;t the way to go (IMO), because it contradicts the ideal of content, style, behavior suppuration (A very practical ideal).
Actually i agree with Uzi and don&#039;t quite follow your reasoning. You don&#039;t have to put your trust on the widget author, You can just place the widget inside a &quot;namespaced&quot; div. Is this more ugly then CSS islands???</description>
		<content:encoded><![CDATA[<p>A CSS island isn&#8217;t the way to go (IMO), because it contradicts the ideal of content, style, behavior suppuration (A very practical ideal).<br />
Actually i agree with Uzi and don&#8217;t quite follow your reasoning. You don&#8217;t have to put your trust on the widget author, You can just place the widget inside a &#8220;namespaced&#8221; div. Is this more ugly then CSS islands???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rantav</title>
		<link>http://prettyprint.me/2009/06/03/required-css-islands/comment-page-1/#comment-27</link>
		<dc:creator>rantav</dc:creator>
		<pubDate>Wed, 03 Jun 2009 10:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://prettyprint.me/?p=114#comment-27</guid>
		<description>Uzi and Udi (or should I call you U[zd]i ;)) what you&#039;re describing is what I call the sad situation of today and I think it deserves improvements.
Uzi  - so long as there is no solution to the problem I agree that a widget author should use unique namespace but this is a very error prone approach and makes an ugly code.
Udi - I used h1 as an example, but even if you choose not to use it you still have the same set of problems. Even if you use more specific css selectors such as .mywidget div you still can&#039;t anticipate all other css attributes that the site owner has chosen to set so your widget may look unprofessional in some sites.</description>
		<content:encoded><![CDATA[<p>Uzi and Udi (or should I call you U[zd]i <img src='http://prettyprint.me/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) what you&#8217;re describing is what I call the sad situation of today and I think it deserves improvements.<br />
Uzi  &#8211; so long as there is no solution to the problem I agree that a widget author should use unique namespace but this is a very error prone approach and makes an ugly code.<br />
Udi &#8211; I used h1 as an example, but even if you choose not to use it you still have the same set of problems. Even if you use more specific css selectors such as .mywidget div you still can&#8217;t anticipate all other css attributes that the site owner has chosen to set so your widget may look unprofessional in some sites.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uzi</title>
		<link>http://prettyprint.me/2009/06/03/required-css-islands/comment-page-1/#comment-26</link>
		<dc:creator>uzi</dc:creator>
		<pubDate>Wed, 03 Jun 2009 05:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://prettyprint.me/?p=114#comment-26</guid>
		<description>A widget maker *should* have it&#039;s CSS statements using a unique &quot;name space&quot;, so if a the widget main element is a div, it should have an id attribute (id=&quot;my-widget&quot;), and then ant css statement should begin with that id (e.g. #my-widget h1 {font-size: 16px}).</description>
		<content:encoded><![CDATA[<p>A widget maker *should* have it&#8217;s CSS statements using a unique &#8220;name space&#8221;, so if a the widget main element is a div, it should have an id attribute (id=&#8221;my-widget&#8221;), and then ant css statement should begin with that id (e.g. #my-widget h1 {font-size: 16px}).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Udi</title>
		<link>http://prettyprint.me/2009/06/03/required-css-islands/comment-page-1/#comment-25</link>
		<dc:creator>Udi</dc:creator>
		<pubDate>Tue, 02 Jun 2009 23:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://prettyprint.me/?p=114#comment-25</guid>
		<description>mmm...
I think adding css islands will just make things over complicated.
If I will be designing a widget, I would be trying to stick to as less elements needed: div, span, img, a and some form elements can do most of the tricks.  Leave h1,h2 and other stuff for the containing page - I am not sure markup semantics is so important in widgets in HTML pages of 2009.
Now just reset those elemnts:
.mywidget div, .mywidget span {
  font-weight:normal;
}
and apply your style to your classes.
And you might need to add many !importants to stay on the safe side.

Udi</description>
		<content:encoded><![CDATA[<p>mmm&#8230;<br />
I think adding css islands will just make things over complicated.<br />
If I will be designing a widget, I would be trying to stick to as less elements needed: div, span, img, a and some form elements can do most of the tricks.  Leave h1,h2 and other stuff for the containing page &#8211; I am not sure markup semantics is so important in widgets in HTML pages of 2009.<br />
Now just reset those elemnts:<br />
.mywidget div, .mywidget span {<br />
  font-weight:normal;<br />
}<br />
and apply your style to your classes.<br />
And you might need to add many !importants to stay on the safe side.</p>
<p>Udi</p>
]]></content:encoded>
	</item>
</channel>
</rss>

