<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Steve Bryant - CSS</title>
			<link>http://www.bryantwebconsulting.com/blog/index.cfm</link>
			<description>A Web Programmer&apos;s Exploration</description>
			<language>en-us</language>
			<pubDate>Wed, 08 Sep 2010 10:10:48-0500</pubDate>
			<lastBuildDate>Fri, 11 Apr 2008 06:00:00-0500</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>steve@bryantwebconsulting.com</managingEditor>
			<webMaster>steve@bryantwebconsulting.com</webMaster>
			
			
			
			
			
			<item>
				<title>A Handful of Code</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2008/4/11/A-Handful-of-Code</link>
				<description>
				
				In my &lt;a href=&quot;/blog/index.cfm/2008/3/26/Page-Controllers-One-Year-Later&quot;&gt;last post about page controllers&lt;/a&gt;, &lt;a href=&quot;http://www.jasonholden.com/&quot;&gt;Jason Holden&lt;/a&gt; asked on which pages I use page controllers. This is a great question and speaks to a larger issue of code organization that applies to CSS and JavaScript as well.
				 [More]
				</description>
						
				
				<category>Page Controller</category>				
				
				<category>CSS</category>				
				
				<category>ColdFusion</category>				
				
				<category>JavaScript</category>				
				
				<pubDate>Fri, 11 Apr 2008 06:00:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2008/4/11/A-Handful-of-Code</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CSS Naked Day 2008</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2008/4/9/CSS-Naked-Day-2008</link>
				<description>
				
				I just found out that it is &lt;a href=&quot;http://naked.dustindiaz.com//&quot;&gt;CSS Naked Day&lt;/a&gt;, so here is my blog... naked.
				
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Wed, 09 Apr 2008 11:30:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2008/4/9/CSS-Naked-Day-2008</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Attractive Forms</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2008/4/8/Attractive-Forms</link>
				<description>
				
				I am looking for some attractive form designs. If you have seen any that you like, I would love to have a look at them. I would also like to find attractive data tables and administrative menus.
				
				</description>
						
				
				<category>Usability</category>				
				
				<category>CSS</category>				
				
				<pubDate>Tue, 08 Apr 2008 06:30:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2008/4/8/Attractive-Forms</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Opera Sues Microsoft</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2007/12/14/Opera-Sues-Microsoft</link>
				<description>
				
				&lt;p&gt;Opera just announced that it is suing Microsoft (&lt;a href=&quot;http://people.opera.com/howcome/2007/msft/&quot;&gt;open letter&lt;/a&gt;, &lt;a href=&quot;http://www.opera.com/pressreleases/en/2007/12/13/&quot;&gt;press release&lt;/a&gt;) for using its market dominant position to tie its OS to a browser with poor standard support.&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Fri, 14 Dec 2007 06:00:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2007/12/14/Opera-Sues-Microsoft</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CSS Organization</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2007/3/2/css_organization</link>
				<description>
				
				&lt;p&gt;Last month, a discussion popped up on the CSS list about organization of CSS files. This is a discussion that comes up from time to time on that list and in smaller development discussions.&lt;/p&gt;&lt;p&gt;I don&apos;t think that my way is necessarily better than any other, but I thought I would share it. If for no other reason than to open up the discussion.&lt;/p&gt;&lt;p&gt;One method that I have seen is to divide up the files into &amp;quot;modules&amp;quot;: forms.css, layout.css, tools.css, typo.css. This seems nice, but leads to a few problems.&lt;/p&gt;
				 [More]
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Fri, 02 Mar 2007 06:00:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2007/3/2/css_organization</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Traveling Reference</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2007/1/26/travelling_reference</link>
				<description>
				
				&lt;p&gt;&lt;a href=&quot;http://www.forta.com/blog/&quot;&gt;Ben Forta&lt;/a&gt;  is &lt;a href=&quot;http://www.forta.com/blog/index.cfm/2007/1/26/Book-Publishing-Dilemma-Input-Requested&quot;&gt;asking for input&lt;/a&gt;  on his next &lt;a href=&quot;http://www.amazon.com/gp/tagging/glance/cfwack&quot;&gt;CFWACK&lt;/a&gt;  book. The discussion in the comments reminded of the old CFML Reference that I keep with me. It is one of a few books that I always have near my computer when I travel.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.oreilly.com/catalog/csspr/&quot;&gt;CSS Pocket Reference&lt;/a&gt;  (outdated, but still handy when I can&amp;#39;t remember some bit of syntax)&lt;/li&gt;&lt;li&gt;ColdFusion Quick Reference Guide to CFML (no longer in print, but still handy to jog my memory a bit)&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.forta.com/books/0672325667/&quot;&gt;Regular Expressions in 10 Minutes&lt;/a&gt;  (Forta strikes again!)&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.amazon.com/SQL-Pocket-Guide-Jonathan-Gennick/dp/0596005121&quot;&gt;SQL Pocket Reference&lt;/a&gt; (perhaps the least used of the bunch, but I still like to have it)&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.bartleby.com/141/&quot;&gt;The Elements of Style&lt;/a&gt;  (I don&amp;#39;t write the copy, but it has still been handy)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;These books taken together weigh less than a pound and take up less space than your average computer book. They have still managed to be tremendously useful when I am working on the road (especially if I am trying to get some work done with no internet connection).&lt;/p&gt;&lt;p&gt;Anyone else have suggestions for books that they don&amp;#39;t leave home without?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
				
				</description>
						
				
				<category>CSS</category>				
				
				<category>ColdFusion</category>				
				
				<category>Personal</category>				
				
				<category>SQL</category>				
				
				<pubDate>Fri, 26 Jan 2007 19:29:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2007/1/26/travelling_reference</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>The Future of Hacks in IE</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/10/13/ie7standardshacks</link>
				<description>
				
				Microsoft is working on Internet Explorer 7 and in an entry on the &lt;a href=&quot;http://blogs.msdn.com/ie/default.aspx&quot;&gt;IEBlog&lt;/a&gt;, they mention the possibility of existing hacks for IE breaking pages in IE7.&lt;br /&gt;&lt;br /&gt;If you are currently using a &lt;a href=&quot;http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/doctype.asp&quot;&gt;doctype that triggers IE&apos;s quirks mode&lt;/a&gt;, your site won&apos;t be affected. If you are using standards mode and hacks for IE, however, it might be.&lt;br /&gt;&lt;br /&gt;The reason for this is that IE is trying to make their standard mode more standards compliant. They recommend using &lt;a href=&quot;http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/ccomment_ovw.asp&quot;&gt;conditional comments&lt;/a&gt; instead of CSS hacks.&lt;br /&gt;&lt;br /&gt;Find out more information at &amp;quot;&lt;a href=&quot;http://blogs.msdn.com/ie/archive/2005/10/12/480242.aspx&quot;&gt;IEBlog: A Call to action: The demise of CSS hacks and broken pages&lt;/a&gt;&amp;quot;.&lt;br /&gt;&lt;br /&gt;All in all, this is the kind of change that people have long been asking for from Redmond, but if you are using standards mode the transition could be rocky unless you prepare now.&lt;br /&gt;
				
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Thu, 13 Oct 2005 13:39:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/10/13/ie7standardshacks</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Quick CSS Reference</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/9/9/quickcss</link>
				<description>
				
				This is a quick reference on how to use CSS. We&apos;ve no time for long explanations, so I will include a few other resources for that sort of stuff.&lt;br /&gt;&lt;br /&gt;For details on CSS properties, see the &lt;a href=&quot;http://www.w3schools.com/css/css_reference.asp&quot;&gt;w3schools CSS Reference&lt;/a&gt; or the &lt;a href=&quot;http://www.devguru.com/Technologies/css/quickref/css_index.html&quot;&gt;DevGuru CSS Index&lt;/a&gt;. &lt;br /&gt;You can also read &lt;a href=&quot;http://www.w3.org/MarkUp/Guide/Style&quot;&gt;An Introduction to CSS&lt;/a&gt; on the W3C&apos;s site (they are in charge of standards on the web).&lt;br /&gt;&lt;br /&gt;Enough of that, We&apos;re trying to get some work done here!
				 [More]
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Fri, 09 Sep 2005 13:58:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/9/9/quickcss</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Avoid These IDs</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/8/30/avoid_these_values_for_your_id</link>
				<description>
				
				Eric Meyer has discovered some values that can cause problem in Internet Explorer on Windows, due to the way it handles scripting. His blog entry touches on an explanation and shows some examples.&lt;br /&gt;&lt;br /&gt;In case you aren&apos;t up to reading any more, just avoid the following values in your id attributes: &amp;quot;tags&amp;quot;,&amp;quot;urns&amp;quot;,&amp;quot;item&amp;quot;,&amp;quot;namedItem&amp;quot; (and maybe &amp;quot;top&amp;quot;).&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://meyerweb.com/eric/thoughts/2005/08/29/reserved-id-values/&quot;&gt;Reserved ID Values?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
				
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Tue, 30 Aug 2005 01:47:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/8/30/avoid_these_values_for_your_id</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CSSFactory: Real World CSSZenGarden?</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/6/13/cssfactory_1</link>
				<description>
				
				I have been a fan of the CSS Zen Garden for a long time. Recently, however, I have noticed that most of the examples are practical for real-world sites where the content changes from page to page and over time. Chris Heilmann has noticed as well.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.csszengarden.com/&quot;&gt;CSSZenGarden.com&lt;/a&gt; is a great example of what CSS can be in an ideal situation. CSS Zen Garden shows what CSS can do for a one-page site whose content never changes. That isn&apos;t the world most of us deal with. Most of us deal with sites with multiple pages where the content changes from time to time.&lt;br /&gt;&lt;br /&gt;Enter &lt;a href=&quot;http://www.wait-till-i.com/index.php?p=97&quot;&gt;CSS Factory&lt;/a&gt;, a real-world alternative to the Zen Garden.&lt;br /&gt;&lt;br /&gt;Right now, CSS Factory is just an idea.&lt;br /&gt;&lt;br /&gt;While I think it is a great idea, a few points do concern me:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Chris mentions changing content order. So long as the order changes only for the content-area and not the template stuff (navigation, pieces that don&apos;t change from page to page), I think that is great.&lt;/li&gt;&lt;li&gt;Chris mentions changing order using JavaScript with a PHP fallback. I think it would be a lot easier to just use straight PHP for that.&lt;/li&gt;&lt;/ul&gt;These are minor points, however.&lt;br /&gt;&lt;br /&gt;I would also offer some suggestions:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Suggest (impose?) a total page-weight of 40K (34K is the suggested page-weight for 10 seconds on 56K modem)&lt;/li&gt;&lt;li&gt;Recognize the specialization of talent in the modern web and give separate credit for design and code. This would allow more entries as designers and coders could collaborate on projects.&lt;/li&gt;&lt;/ul&gt;The second aspect would, I think, help to make the project a success. I know that I couldn&apos;t contribute anything to the project by myself as I have no design talent. Similarly, I know many good designers that couldn&apos;t contribute to the project because their CSS-skills aren&apos;t that advanced.&lt;br /&gt;&lt;br /&gt;I certainly hope CSSFactory comes to fruition. If you have any thoughts, let Chris know on his blog.&lt;br /&gt;&lt;br /&gt;Good Luck!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
				
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Mon, 13 Jun 2005 13:35:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/6/13/cssfactory_1</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Eyetrack and Zen Garden</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/3/9/eyetrack_and_zen_garden</link>
				<description>
				
				&lt;a href=&quot;http://www.eyetools.com/&quot;&gt;Eyetools Research&lt;/a&gt; is running an eyetracking analysis on &lt;a href=&quot;http://www.csszengarden.com/&quot;&gt;CSS Zen Garden&lt;/a&gt;. Their eyetracking analysis shows where users actually look on a web page. CSS Zen Garden shows the same content (indeed, the same HTML) with multiple designs.&lt;br /&gt;&lt;br /&gt;The nice thing about an &lt;a href=&quot;http://blog.eyetools.net/eyetools_research/2005/02/css_zen_garden_.html&quot;&gt;eyetrack study of CSS Zen Garden&lt;/a&gt; is that it is possible to see how people react to the same exact content in different designs. So far, they have tested the original design and one other. They are &lt;a href=&quot;http://blog.eyetools.net/eyetools_research/2005/03/eyetracking_the.html#more&quot;&gt;taking votes&lt;/a&gt; for what designs to test next.&lt;br /&gt;&lt;br /&gt;If you haven&apos;t done so yet, you might want to check out the &lt;a href=&quot;http://blog.eyetools.net/&quot;&gt;Eyetools blog&lt;/a&gt;. If you are interested in CSS Zen Garden, you might want to look at the &lt;a href=&quot;http://www.amazon.com/exec/obidos/ASIN/0321303474&quot;&gt;CSS Zen Garden book&lt;/a&gt;.&lt;br /&gt;
				
				</description>
						
				
				<category>Usability</category>				
				
				<category>CSS</category>				
				
				<pubDate>Wed, 09 Mar 2005 05:59:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/3/9/eyetrack_and_zen_garden</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>CSS Zen Garden Book</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/3/1/css_zen_garden_book</link>
				<description>
				
				I just saw an announcement that a &lt;a href=&quot;http://www.amazon.com/exec/obidos/ASIN/0321303474/mezzoblue-20/&quot;&gt;book on CSS Zen Garden&lt;/a&gt; has been released. For those of you that don&apos;t know, &lt;a href=&quot;http://www.csszengarden.com/&quot;&gt;CSS Zen Garden&lt;/a&gt; is a very nifty site that can be viewed in several different designs (568 at the time of this writing). All of the designs use the exact same HTML, only the CSS changes. If you haven&apos;t been to the site before, I highly recommend you take a look.&lt;br /&gt;&lt;br /&gt;The book is written by the founder of CSS Zen Garden, &lt;a href=&quot;http://www.mezzoblue.com/&quot;&gt;Dave Shea&lt;/a&gt; and by popular author, instructor and web designer, &lt;a href=&quot;http://www.molly.com/&quot;&gt;Molly E. Holzschlag&lt;/a&gt;. Dave Shea has some &lt;a href=&quot;http://www.mezzoblue.com/archives/2005/02/21/its_here/&quot;&gt;pictures of the book&lt;/a&gt; on his site. &lt;a href=&quot;http://www.digital-web.com/&quot;&gt;Digital Web&lt;/a&gt; has a good &lt;a href=&quot;http://www.digital-web.com/articles/zen_of_css_design/&quot;&gt;review of the book&lt;/a&gt;.&lt;br /&gt;
				
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Tue, 01 Mar 2005 13:38:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/3/1/css_zen_garden_book</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Common Coding Problems with HTML and CSS</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/2/26/common_coding_problems_with_html_and_css_1</link>
				<description>
				
				Sorry for the lack of posts recently, trying to get caught up on paying work.&lt;br /&gt;&lt;br /&gt;Someone recently posted a link an article on the &lt;a href=&quot;http://webstandardsgroup.org/&quot;&gt;Web Standards Group&lt;/a&gt; mail list. The article, &amp;quot;&lt;a href=&quot;http://www.positioniseverything.net/articles/common.html&quot;&gt;Common Coding Problems with HTML and CSS&lt;/a&gt;&amp;quot;, does a really good job of summarizing issues the possible issues in CSS/HTML web sites (most of them IE bugs).&lt;br /&gt;
				
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Sat, 26 Feb 2005 05:59:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/2/26/common_coding_problems_with_html_and_css_1</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Style By Section</title>
				<link>http://www.bryantwebconsulting.com/blog/index.cfm/2005/1/29/style_by_section</link>
				<description>
				
				I have, for some time now, been using CSS to style sites that I have been working on. I typically use a style sheet named &quot;all.css&quot; to indicate that it is for all pages and all media. I then have a &amp;quot;print.css&amp;quot; for the print media.&lt;br /&gt;&lt;br /&gt;Occasionally a site has multiple sections that each have slightly different styles. I typically create an additional style sheet for each section and link to the relevant style sheet conditionally.&lt;br /&gt;&lt;br /&gt;This technique works well, but seems wasteful in situations where the styling for each section takes very few lines. I have, in the past, included the relevant styles on directly on each page (avoid this as it is a maintenance nightmare). Ideally, I could include styles for a given section in my primary style sheet and have them only apply to the correct pages automatically. Is such a thing even possible in CSS? Yes! (read on)&lt;br /&gt;&lt;br /&gt;First thing&apos;s first. How does the browser know which page is in which section? For this, I use the often-ignored body tag. Although rarely used, the body tag (like most other tags) does have &quot;class&quot; and &quot;id&quot; attributes.&lt;br /&gt;&lt;br /&gt;In this case, I will use the &quot;class&quot; attribute of the body tag (the &quot;id&quot; attribute would work just as well, but I reserve it for a similar use - more on that in a future post). Simply set the class attribute to the name of the section and then use the cascade to apply your styles to children of a body tag with a style matching that section.&lt;br /&gt;&lt;br /&gt;Clear as mud? How about we look at some examples.&lt;br /&gt;&lt;br /&gt;Let&apos;s say that I have a section called &quot;Careers&quot; (keep in mind that if your section names don&apos;t work as a valid CSS class that you will have to modify them so that they do - ditch spaces for example).&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 51, 0);&quot;&gt;&amp;lt;body class=&quot;Careers&quot;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now, I want to style the color of every h2 tag on any page in the careers section (without changing the appearance of h2 in any other section):&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 51, 0);&quot;&gt;body.Careers h2 {color:#9b6340;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Basically, what this tells the browser is that it should apply the given color (#9b6340) to any h2 tag that is enclosed by a body tag with a class of &quot;Careers&quot;.&lt;br /&gt;&lt;br /&gt;That&apos;s it! Let me know how you make out.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;UPDATE (3/06/2005)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This technique can also be used to &lt;a href=&quot;http://www.456bereastreet.com/archive/200503/setting_the_current_menu_state_with_css/&quot;&gt;set current menu state&lt;/a&gt;.&lt;br /&gt;
				
				</description>
						
				
				<category>CSS</category>				
				
				<pubDate>Sat, 29 Jan 2005 05:59:00-0500</pubDate>
				<guid>http://www.bryantwebconsulting.com/blog/index.cfm/2005/1/29/style_by_section</guid>
				
			</item>
			
		 	
			</channel></rss>