<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041935" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041935</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Have you ever looked at the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233923</link>
    <description> &lt;p&gt;Have you ever looked at the admin styles for the Drupal framework theme? I use the theme as a blank canvas, to build custom themes from PSD, but the creator really didn&#039;t want anybody messing with the admin view (yeah, you can change the admin theme) - not talking about that, just the unfriendly style:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;/*--------------ADMINISTRATION SECTION----------------&lt;br /&gt;&amp;nbsp; --------------edit at your own risk ----------------*/&lt;br /&gt;#tabs-wrapper{margin:0;padding:0}h2.with-tabs{float:left;margin-right:1em}ul.tabs{margin:1.8em 0 0 !important;padding:0 !important}&lt;br /&gt;&lt;br /&gt;img,a img{border:none;outline:none}input{color:#494949;font:12px/100% Verdana, sans-serif}textarea,select{color:#494949;font:12px/160% Verdana, sans-serif}em{padding:0 3px 0 0}hr{background:#5294c1;border:none;height:1px;margin:0;padding:0}ul,quote,code,fieldset{margin:.5em 0}ul{margin:0.5em 0 1em;padding:0}ul li{margin:0.4em 0 0.4em .5em}ul.menu,.item-list ul{margin:0.35em 0 0 -0.5em;padding:0}ul.menu ul,.item-list ul ul{margin-left:0}ul li,ul.menu li,.item-list ul li,li.leaf{background:transparent url(images/menu-leaf.gif) no-repeat 1px .35em;list-style-image:none;list-style-type:none;margin:0.15em 0 0.15em .5em;padding:0 0 .2em 1.5em}ul li.expanded{background:transparent url(images/menu-expanded.gif) no-repeat 1px .35em}ul li.collapsed{background:transparent url(images/menu-collapsed.gif) no-repeat 0 .35em}ul li.leaf a,ul li.expanded a,ul li.collapsed a{display:block}ul.inline li{background:none;margin:0;padding:0 1em 0 0}fieldset ul.clear-block li{background-image:none;margin:0;padding:0}dl{margin:0.5em 0 1em 1.5em}dl dd{margin:0 0 .5em 1.5em}table{margin:1em 0;width:100%}thead th{border-bottom:2px solid #d3e7f4;color:#494949;font-weight:700}th a:link,th a:visited{color:#6f9dbd}td,th{padding:.3em .5em}tr.even,tr.odd,tbody th{border:solid #d3e7f4;border-width:1px 0}tr.odd,tr.info{background-color:#edf5fa}tr.even{background-color:#fff}tr.odd td.active{background-color:#ddecf5}tr.even td.active{background-color:#e6f1f7}td.region,td.module,td.container{background-color:#d4e7f3;border-bottom:1px solid #b4d7f0;border-top:1.5em solid #fff;color:#455067;font-weight:700}tr:first-child td.region,tr:first-child td.module,tr:first-child td.container{border-top-width:0}span.form-required{color:#ffae00}.description{color:#898989;font-size:0.92em;line-height:150%;margin-bottom:0.75em}.messages,.preview{margin:.75em 0;padding:.5em 1em}.messages ul{margin:0}.form-checkboxes,.form-radios,.form-checkboxes .form-item,.form-radios .form-item{margin:0.25em 0}#center form{margin-bottom:2em}.form-button,.form-submit{margin:2em 0.5em 1em 0}#watchdog-form-overview .form-submit,.confirmation .form-submit,.search-form .form-submit,.poll .form-submit,fieldset .form-button,fieldset .form-submit,.sidebar .form-button,.sidebar .form-submit,table .form-button,table .form-submit{margin:0}.box{margin-bottom:2.5em}.profile dd{margin-bottom:1.6em}ul.primary,ul.primary li,ul.secondary,ul.secondary li{background:none;border:0;margin:0;padding:0}ul.primary{float:left;padding:0.5em 0 10px}ul.secondary{border-bottom:1px solid #e9eff3;clear:both;margin:0 0 1em;padding:0 0 1em;text-align:left}ul.primary li a,ul.primary li.active a,ul.primary li a:hover,ul.primary li a:visited,ul.secondary li a,ul.secondary li.active a,ul.secondary li a:hover,ul.secondary li a:visited{background:none;border:0;height:auto;margin:0;padding:0 1em 0 0;position:relative;text-decoration:none;top:-1px}ul.primary li.active a,ul.primary li.active a:link,ul.primary li.active a:visited,ul.primary li a:hover,ul.secondary li.active a,ul.secondary li.active a:link,ul.secondary li.active a:visited,ul.secondary li a:hover{background:none}ul.primary li.active a,ul.secondary li.active a{font-weight:700}tr.odd td.menu-disabled{background-color:#edf5fa}tr.even td.menu-disabled{background-color:#fff}#autocomplete li{cursor:default;margin:0;padding:2px}#autocomplete li.selected,tr.selected td,tr.selected td.active{background:#027ac6;color:#fff}fieldset{background:#fff;border:1px solid #d9eaf5;margin:1em 0;padding:1em}fieldset legend{display:block}html.js fieldset.collapsed{background:transparent;padding-bottom:.6em;padding-top:0}html.js fieldset.collapsible legend a{background:url(images/menu-expanded.gif) no-repeat 0 50%;padding-left:2em}html.js fieldset.collapsed legend a{background:url(images/menu-collapsed.gif) no-repeat 0 50%}div.admin-panel,div.admin-panel .description,div.admin-panel .body,div.admin,div.admin .left,div.admin .right,div.admin .expert-link,div.item-list,.menu{margin:0;padding:0}div.admin h3{margin-bottom:0}div.admin .left{float:left;width:48%}div.admin .right{float:right;width:48%}div.admin-panel{background:none;padding:1em 1em 1.5em}div.admin-panel .description{margin-bottom:1.5em}div.admin-panel dl{margin:0}div.admin-panel dd{color:#898989;font-size:0.92em;line-height:1.3em;margin-bottom:.65em;margin-top:-0.2em}table.system-status-report th{border-color:#d3e7f4}tr.selected td a:link,tr.selected td a:visited,tr.selected td a:active{color:#d3e7f4}.messages{background-color:#fff;border:1px solid #b8d3e5}.preview{background-color:#fcfce8;border:1px solid #e5e58f}div.status{border-color:#c7f2c8;color:#33a333}div.error,tr.error{background-color:#FCC;color:#a30000}.form-item input.error,.form-item textarea.error{border:1px solid #c52020;color:#363636}table.system-status-report tr.error,table.system-status-report tr.error th{background-color:#fcc;border-color:#ebb;color:#200}table.system-status-report tr.warning,table.system-status-report tr.warning th{background-color:#ffd;border-color:#eeb}table.system-status-report tr.ok,table.system-status-report tr.ok th{background-color:#dfd;border-color:#beb}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 Sep 2008 17:46:01 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1233923 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Same as Liam, block for</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233891</link>
    <description> &lt;p&gt;Same as Liam, block for multiple properties, and option 1 for decibel places selection. Generally this is because of convenience...&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 Sep 2008 04:57:31 +0000</pubDate>
 <dc:creator>demonhale</dc:creator>
 <guid isPermaLink="false">comment 1233891 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The only possibly</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233628</link>
    <description> &lt;blockquote&gt;&lt;p&gt;The only possibly difference, although minute, would be indenting, as there is more white space for the browser to read through.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Not disagreeing with this. Just wanted to point out that if &lt;a href=&quot;http://developer.yahoo.com/performance/rules.html#gzip&quot;&gt;Apache gzip compression&lt;/a&gt; is switched on, white space won&#039;t matter a jot.&lt;/p&gt;
&lt;p&gt;Personally, I use block 95% of the time, unless a declaration only has one property, e.g. &lt;code&gt;p.w00t { color: #00f; }&lt;/code&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 20 Sep 2008 04:43:47 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1233628 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The things I tend to leave</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233626</link>
    <description> &lt;p&gt;The things I tend to leave as block are the ones I change now and then, or only have a few things in it.&lt;/p&gt;
&lt;p&gt;The nav menu is usually left alone once complete so on one line takes up less space to scroll and find other things.&lt;/p&gt;
&lt;p&gt;I use &#039;find&#039; a lot too, in css and php files. I think I would be about 6 months behind without the find command. And the replace.&lt;br /&gt;
&#039;Find and replace all&#039; often tells me &quot;100 items have been replaced&quot;, that saves me a heck of a lot of time.&lt;/p&gt;
&lt;p&gt;On a technical level, I cannot see why there would be any differences between block and inline css code. It all takes up the same space. The only possibly difference, although minute, would be indenting, as there is more white space for the browser to read through.&lt;br /&gt;
But back in the real world, I see no difference and using what one feels is easiest is the best way.&lt;del&gt;&lt;/del&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 20 Sep 2008 03:02:20 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1233626 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I use block as well. I don&#039;t</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233612</link>
    <description> &lt;p&gt;I use block as well. I don&#039;t understand the argument that it&#039;s easier to read. It might be easier to find a selector but often I&#039;m using a &quot;find&quot; command or Firebug to tell me which line something&#039;s on. Good organization of CSS files helps with that too. Putting it all on one line would make it harder to find a property you need to change, especially when they&#039;re long enough to go over one line.&lt;/p&gt;
&lt;p&gt;I do use one line occasionally, particularly if it&#039;s something like link pseudo-classes that only have a few changes from the default. I do indent as well, so mine would look like this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;element {&lt;br /&gt;&amp;nbsp; style1;&lt;br /&gt;&amp;nbsp; style2;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 19 Sep 2008 12:59:11 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1233612 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Block 95% of the</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233588</link>
    <description> &lt;p&gt;Block 95% of the time.&lt;br /&gt;
Although, if something has a huge amount of declarations I will work on it in block format, then put it in one line once it&#039;s done.&lt;br /&gt;
My Nav menus usually have a load of declarations.&lt;/p&gt;
&lt;p&gt;But I don&#039;t indent, not in CSS&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#div_id{&lt;br /&gt;some declaration&lt;br /&gt;another declaration&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 19 Sep 2008 05:09:57 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1233588 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Block, personally I find it</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233587</link>
    <description> &lt;p&gt;Block, personally I find it easier to edit that way.&lt;/p&gt;
 </description>
     <pubDate>Fri, 19 Sep 2008 00:18:16 +0000</pubDate>
 <dc:creator>Roo</dc:creator>
 <guid isPermaLink="false">comment 1233587 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Well, I use both. One line</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-coding-style-inline-or-block#comment-1233562</link>
    <description> &lt;p&gt;Well, I use both. One line for a quickie.&lt;/p&gt;
&lt;p&gt;Depends mostly on complexity, if it&#039;s more than a coupla statements, I think block is clearer.&lt;/p&gt;
&lt;p&gt;I suppose the one line code loads a bit faster - but not enough to sacrifice clarity.&lt;/p&gt;
&lt;p&gt;Now, how about block styles...&lt;/p&gt;
&lt;p&gt;do you&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;element {&lt;br /&gt;&amp;nbsp; style1;&lt;br /&gt;&amp;nbsp; style2;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;or no indent like&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;element {&lt;br /&gt;style1;&lt;br /&gt;style2;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;or separate the braces like&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;element &lt;br /&gt;{&lt;br /&gt;&amp;nbsp; style1;&lt;br /&gt;&amp;nbsp; style2;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
???&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 Sep 2008 00:16:00 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1233562 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
