Skip to main content

Posts

Showing posts from October, 2012

How to make three divs with the same height and width? HTML

My brother asked me how he could make three divs with the same height, as I was busy, “search on google” I replied. He insisted that he cannot find on search, so I stop what I was doing and searched on google to give him the link.
Although I did not spend too long on searching, I could not find any solution, so I tried myself and create one myself. Here is the solution using JavaScript. You can copy and paste code from here and also you may want to download html file.

<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Equal height/width</title> <style type="text/css" > body { width: 500px; margin:auto; } #all_contents, #content1, #content2, #content3 { overflow: auto;} #content1, #content2, #content3 { float: left;} #content1 {background-color:blue;} #content2 {background-color:red;} #content3 {background-color:green;} &l…

Education, education, education.

Sometimes a picture can tell a story which hardly could be explained in words. Educate yourself to free your mind and soul. 

The beauty of mathematics

Mathematics is beautiful, no doubt. Try to print this picture and cut one of the shape (rectangle or square) and compare to other one. Any idea why they appear to have equal area?

Quick review of my final year project in university

Being passionate about mathematics and programming, I had to choose a project which allows me to practise both, mathematical aspect and wring algorithmic program. Before I stated final year, I already had chosen few projects which all were around artificial intelligence.

One of the choices was “Intelligent Timetable Scheduling System”, which my supervisor, Professor Lee allowed me to take this project. The aim was to create a system which automatically generate a timetable, for example for a university.

I knew that this project is slightly hard for undergraduate student, it best suited for Ph.D. or at least master students who can spend all time on this work rather than being worry about other few modules too. In my case I had four other modules which I had to allocate time for all, however; I was motivated and happy to take all because I personal believe that “intelligence is result of past diligence”.

As a quick review of how and what I did;
Tools I used for project management an…