This is a small collection of tips that make coding and designing a little bit easier.
This article is split to two parts:
- 1: Coding
- 2: Graphics and Design
Make sure you check out both!
Are you tired of refreshing the web-page every time you’ve made a change?
Then try having an autorefresh meta-tag to refresh the page after a certain amount of time passes. Use this code in your head-tag:
<meta http-equiv="refresh" content="3">
This refreshes the page every 3 seconds, so you don’t have to!
Have decent HTML structure
Add padding for elements inside another one. Makes the code much easier to read. Also, when coding HTML, create the closing tag right when you create the opening one. This prevents getting into trouble of invalid code for not closing the tags in correct order or at all.
Validate and test your code with IE
Often after you’ve coded the design, you notice validation errors and IE acting weirdly. To prevent this kind of thing from happening, validate and test your code along the way with multiple browsers so you know exactly where you’ve messed up or what is causing the errors in IE.
Organize your CSS
Create an organized systematic method for grouping your rules in CSS. You can for example have the code organized based on the order of the HTML elements, you can group different areas of styling into one place for example by having properties relating to typography in one area while having background properties all in one area. This makes the code much more readable and you find what you’re looking for faster.
Continue reading to the next page of this post for tips regarding graphics and design!
Thank you! Nice work here.
Comment by Thanks — February 13, 2010 @ 8:23 pm
I would recommend splitting this post up into more sections. It got a bit confusing when you were talking about CSS to immediately enter a discussion on the GIMP. If it were for you mentioning the word “GIMP,” I would not have understood what you were talking about paths and channels.
Comment by Underlined — February 28, 2010 @ 3:02 am
@Thanks: You’re welcome. Thank you for replying.
@Underlined: The post is now split to 2 sections. Thanks for the suggestion and replying!
Comment by Admin — February 28, 2010 @ 12:12 pm