«« Next » « Previous
«« Next » « Previous

Link Details

Announcement

iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008

Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.

Voting at DZone is super easy, but you aren't logged in. Login and vote now.
Link 70395 thumbnail

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
  • 16
  • 5
  • 1831
  • 786

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.