css Category

CSS / HTML Template – Download
May 22nd, 2010 by moonpixel

I have been using the 960 Grid System CSS Framework, 960px frame divided into 12 or 16 columns, as for the kind of websites I work on (large graphics, less text) the pixel based layout is suitable. After I did about 10-20 sites using this framework I started realising that the time it saves me when creating the layout, at the end of the day I spend extra when making tweaks to the site (and there always are tweaks) and I did revert back to using custom templates based on my specific needs. I did create a “website” template composed just from the very basic elements I keep using again and again. [...]

Flexible CSS – Combining Classes vs Descendant Selectors
December 31st, 2009 by moonpixel

Separating semantic and presentational code is a great idea, however sometimes it’s worth not going 100% by the book.
For content like text and images I am finding, that a bit more HTML (XHTML) markup can save lots of time in the long run.

XHTML which is short and sweet:

<div id="main-content">
<h1>Header <span>(some additional words)</span></h1> 
<p>Some text...</p>
<img src="..." />
<p>Some more text...</p>
</div>
  • Search Moonpixel

  • Blog Categories

  • Ads
    LoungePad
  • AdSense
  • Chitika
  • Subscribe for Updates

  • Moonpixel on Facebook

  • @moonpixel on Twitter