Link Details

Link 70395 thumbnail
User 264570 avatar

By House
via woork.blogspot.com
Published: Mar 12 2008 / 09:21

This is a descriptive post about how to write a well structure CSS file and be simple, "elegant-code" oriented and methodic in this process
  • 17
  • 5
  • 2856
  • 894

Comments

Add your comment
User 259192 avatar

topcataj replied ago:

0 votes Vote down Vote up Reply

Write the CSS before the HTML?
Hmm, no, I don't think so. Always better to start with the HTML structure, and add the CSS to it. It should work without CSS as well.

User 200691 avatar

lem z replied ago:

0 votes Vote down Vote up Reply

I feel embarrased to admit that after 9 years of CSS it never occured to me to indent cascading style definitions :)

I wouldnt however recommend writing CSS before HTML. CSS is meant to style HTML and just like chicken and egg, they both evolve at the same time, not one before another IMO.

User 264570 avatar

House replied ago:

0 votes Vote down Vote up Reply

@topcataj: you don't have to write all CSS code before HTML but only the main sections and not every single details.
,

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.