Posts Tagged ‘Web’

9 Basic Principles Of Responsive Web Design

Posted on November 2014 at about 11:52 PM by hwa

Got this from FROONT’s blog, very informative and well explained with animated GIF on responsive web design.

Tips: Click on the image to view the animated GIF!

Responsive vs Adaptive

It might seem the same but it isn’t. Both approaches complement each other, so there is no right or wrong way to do it. Let the content decide.


It might seem the same but it isn’t. Both approaches complement each other, so there is no right or wrong way to do it. Let the content decide.

Flow vs Static

As screen sizes become smaller, content starts to take up more vertical space and anything below will be pushed down, it’s called the flow. That might be tricky to grasp if you are used to design with pixels and points, but makes total sense when you get used to it.


As screen sizes become smaller, content starts to take up more vertical space and anything below will be pushed down, it’s called the flow. That might be tricky to grasp if you are used to design with pixels and points, but makes total sense when you get used to it.

Relative Units vs Static Units

The canvas can be a desktop, mobile screen or anything in between. Pixel density can also vary, so we need units that are flexible and work everywhere. That’s where relative units like percents come in handy. So making something 50% wide means it will always take half of the screen (or viewport, which is the size of the opened browser window).


The canvas can be a desktop, mobile screen or anything in between. Pixel density can also vary, so we need units that are flexible and work everywhere. That’s where relative units like percents come in handy. So making something 50% wide means it will always take half of the screen (or viewport, which is the size of the opened browser window).

With Breakpoints vs Without Breakpoints

Breakpoints allow the layout to change at predefined points, i.e. having 3 columns on a desktop, but only 1 column on a mobile device. Most CSS properties can be changed from one breakpoint to another. Usually where you put one depends on the content. If a sentence breaks, you might need to add a breakpoint. But use them with caution – it can get messy quickly when it’s difficult to understand what is influencing what.


Breakpoints allow the layout to change at predefined points, i.e. having 3 columns on a desktop, but only 1 column on a mobile device. Most CSS properties can be changed from one breakpoint to another. Usually where you put one depends on the content. If a sentence breaks, you might need to add a breakpoint. But use them with caution – it can get messy quickly when it’s difficult to understand what is influencing what.

Max Width vs No Max Width

Sometimes it’s great that content takes up the whole width of a screen, like on a mobile device, but having the same content stretching to the whole width of your TV screen often makes less sense. This is why Min/Max values help. For example having width of 100% and Max width of 1000px would mean that content will fill the screen, but don’t go over 1000px.


Sometimes it’s great that content takes up the whole width of a screen, like on a mobile device, but having the same content stretching to the whole width of your TV screen often makes less sense. This is why Min/Max values help. For example having width of 100% and Max width of 1000px would mean that content will fill the screen, but don’t go over 1000px.

Nested vs Not Nested

Remember the relative position? Having a lot of elements depending on each other would be difficult to control, therefore wrapping elements in a container keeps it way more understandable, clean and tidy. This is where static units like pixels can help. They are useful for content that you don’t want to scale, like logos and buttons.


Remember the relative position? Having a lot of elements depending on each other would be difficult to control, therefore wrapping elements in a container keeps it way more understandable, clean and tidy. This is where static units like pixels can help. They are useful for content that you don’t want to scale, like logos and buttons.

Desktop First vs Mobile First

Technically there isn’t much of a difference if a project is started from a smaller screen to a bigger (mobile first) or vice versa (desktop first). Yet it adds extra limitations and helps you make decisions if you start with mobile first. Often people start from both ends at once, so really, go and see what works better for you.


Technically there isn’t much of a difference if a project is started from a smaller screen to a bigger (mobile first) or vice versa (desktop first). Yet it adds extra limitations and helps you make decisions if you start with mobile first. Often people start from both ends at once, so really, go and see what works better for you.

System Fonts vs Webfonts

Wanna have a cool looking Futura or Didot on your website? Use webfonts! Although they will look stunning, remember that each will be downloaded and the more you’ll have, the longer it will take to load the page. System fonts on the other hand are lightning fast, except when the user doesn’t have it locally, it will fall back to a default font.


Wanna have a cool looking Futura or Didot on your website? Use webfonts! Although they will look stunning, remember that each will be downloaded and the more you’ll have, the longer it will take to load the page. System fonts on the other hand are lightning fast, except when the user doesn’t have it locally, it will fall back to a default font.

Vectors vs Images

Does your icon have lot of details and some fancy effects applied? If yes, use a bitmap. If not, consider using a vector image. For bitmaps use a jpg, png or a gif, for vectors the best choice would be a SVG or an icon font. Each has some benefits and some drawbacks. However keep in mind the size — no pictures should go online without optimisation. Vectors on the other hand often are tiny, but some older browsers won’t support it. Also, if it has lots of curves, it might be heavier than a bitmap, so choose wisely.


Does your icon have lot of details and some fancy effects applied? If yes, use a bitmap. If not, consider using a vector image. For bitmaps use a jpg, png or a gif, for vectors the best choice would be a SVG or an icon font. Each has some benefits and some drawbacks. However keep in mind the size — no pictures should go online without optimisation. Vectors on the other hand often are tiny, but some older browsers won’t support it. Also, if it has lots of curves, it might be heavier than a bitmap, so choose wisely.

This article is originally posted at FROONT’s blog, under the title 9 basic principles of responsive web design. Head over to the original blog for more information, and also discussion on this subject.

WordPress 2.0.5 Server 500 Error Fix

Posted on October 2006 at about 11:26 PM by hwa

WordPress 2.0.5 released three days ago, while most of the WordPress user are now writing their blog with peace of mind, some of them are having the server 500 error. According to Mark Jaquith, it’s due to the bug that was reported for WordPress 2.1.

Fixing this error is some what easy, for it’s fixable just by installing a plugin, below are the step to fix this error.

  1. Download this plugin.
  2. Upload it to your WordPress plugins folder.
  3. Activate the plugin.

However if you get an error message after logging in to your admin panel and cannot click the Plugins tab, just type “{WPDIR}/wp-admin/plugins.php” into your address bar and press enter, and this should fix the problem.

WordPress 2.0.5 – Ronan

Posted on October 2006 at about 7:31 PM by hwa

The moment of truth, WordPress 2.0.5 is finally released about 12 hours ago!! The latest WordPress, coded named Ronan to congratulate Ryan Boren on his new son, awww how nice~~ 😳

There are around 50 bugfixes in this release, and WordPress user is advised to upgrade into this version since there are quite a lot of security fix in this one, and you may go to Mark’s blog to know more about the changes in WordPress 2.0.5.

This is the last version of WordPress 2.0, next the WordPress team will continue to develop the brand new WordPress 2.1.

Update: Just updated to WordPress 2.0.5, so when is your turn? 😉

WordPress Multi User

Posted on October 2006 at about 10:58 PM by hwa

Fresh from oven!! WordPress Multi User or known as WordPress MU 1.0 just released today!!

WordPress MU is a multi user version of WordPress, the famous blogging software, it’s suitable for those who like to host WordPress with many user, for example like a blogging networks or something, and it’s actually the software that run WordPress.com for all this while.

According to Matt, to install WordPress MU is a little bit more complex than the usual 5 minute install of regular WordPress, sorry to say that i’m not very sure how complex the installation is, but WordPress MU had gone through more than a year of heavy development before it’s stable enough to release to the public.

Other than that Matt also announce the release of bbPress, a very lightweight forum that is totally supports complete user and login integration with WordPress.

WordPress 2.0.5 RC1 Download

Posted on October 2006 at about 10:44 PM by hwa

Got WordPress 2.0.5 RC1 download link from foolswisdom, you may download WordPress 2.0.5 RC1 now, zip and svn also available. But i strongly recommend you all to join the WP Testers mailing list to discuss in case you found any bugs.

Please remember that WordPress 2.0.5 RC1 is till under Release Candidate, mean that there are still minor things to make sure before it’s release to the public, so if you don’t want to take any risk to try Beta software, you may wait until the official release, most probably in 10 days or so.

WordPress 2.0.5 RC1

Posted on October 2006 at about 11:17 PM by hwa

Saw this on WordPress admin dashboard this morning, WordPress 2.0.5 RC1 is out, but not open to public yet. This isn’t an official release, according to Dougal, WordPress 2.0.5 had change from Beta to Release Candidate, mean that soon it will release to the public.

It’s been almost three months since WordPress 2.0.4 released, the development seem like stopped for quite a long time, i guess most probably is because the team is busy with bbPress, a bulletin board system developed by WordPress team.

For those who want to try out the nightly build, you may join the WP Testers mailing list to get the download link, or you may go WordPress Trac site to have a look on what is new in the next release.