tag:blogger.com,1999:blog-39979258009347039312024-02-21T00:22:21.543-08:00BlogupielWelcome on Blogupiel, my Blogger based personal website where you can find about Blog tutorials, Web Design, SEO, templates, resources, and inspiration.blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-3997925800934703931.post-3172157820490037012009-12-23T06:07:00.000-08:002009-12-23T06:20:59.817-08:00Tukeran Link<p>Halo Semua bloggers akhirnya daku tergoda juga untuk melakukan tukeran link.</p><p>Bagi yang berniat silahkan komentari post ini untuk merequest backlink dengan syarat :</p><ul><li>anchor text ke situs ini <a href="http://blogupiel.blogspot.com/"><span style="font-weight: bold;">blogupiel</span></a></li><li>linknya <span style="font-weight: bold;">http://blogupiel.blogspot.com</span></li></ul><p>Daftar situs yang sudah request :</p><ol><li><a href="http://www.dmegs.com/">Dmegs Web Directory</a><br /></li></ol>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com131tag:blogger.com,1999:blog-3997925800934703931.post-40256617849661869222009-12-23T04:52:00.000-08:002009-12-23T05:13:24.701-08:00The Fabulous Fibonacci Numbers<p>This post is to inspire teachers and students how beatifull <a href="http://en.wikipedia.org/wiki/Fibonacci">Fibonacci</a> numbers. There aren’t many themes in mathematics that permeate more branches of <a href="http://en.wikipedia.org/wiki/Mathematics">mathematics</a> than the Fibonacci numbers. They come to us from one of the most important books in Western history. This book, <a href="http://en.wikipedia.org/wiki/Liber_Abaci">Liber Abaci</a>, written in 1202 by Leonardo of Pisa, more popularly known as Fibonacci (1180–1250), * or son of Bonacci, is the first European publication using the Hindu–Arabic numerals that are the basis for our base 10 number system. This alone would qualify it as a landmark book. However, it also contains a "harmless" problem about the regeneration of rabbits. It is the solution of that problem that produces the Fibonacci numbers.</p><p>You might have your students try to set up a chart and solve the problem independently before progressing further. It may be stated as follows:</p><p></p><blockquote>How many pairs of rabbits will be produced in a year, beginning with a single pair, if in every month each pair bears a new pair, which becomes productive from the second month on?</blockquote><p></p><p>It is from this problem that the famous Fibonacci sequence emerged. If we assume that a pair of baby (B) rabbits matures in one month to become offspring-producing adults (A), then we can set up the following chart :</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwG_tS05CRIIViuZ4aQjpsowtNuNrbFhjHPP8WHfL9_t-ouPp3XaBQ8iop7ZmrYTERnTmOV7Hiir1LUltxno1TK314IcthJHZ7cm7SdXuzXVkq0hvO0eFPZS1OBLLa0nCVSpkL14svCmE/" alt="fibonacci pairs" width="435" height="401" /></p><p>If we let <em>f</em>n be the nth term of the <a href="http://en.wikipedia.org/wiki/Fibonacci">Fibonacci</a> sequence, then :<br /></p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhws8-Qtx54HTZSLgdIzC0A9Ud8W0HYJK7tew3T0f4TmYiZ5e4WjywR6O6OfPs75h7Upwa8Wh-hjF6smglyiRZafIBC92qtukKXiz9UngvbkH_uphQqCbhEWsX6fWSc_FRXu46JFk5MYYk/" alt="fibonacci sequence" width="238" height="129" /></p><p>That is, each term after the first two terms is the sum of the two preceding terms.</p><p>Your students may (rightly) ask at this point, What makes this sequence of numbers so spectacular? For one thing, there is a direct relationship between (believe it or not) it and the Golden Section! Consider successive quotients of the <a href="http://en.wikipedia.org/wiki/Fibonacci_number">Fibonacci numbers</a>:</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1QwU89_FEFZTjxBnvS3SGhIqMvpjFMYoR9q8VjV67Boe9nzpN0hKDnrLYOao4JPyjlfi2e1ywcZFbjTtIEiEACbRuwoeNL_URAtgMIJ_qp42jzYHzAqEQSPxPNRlL68rHPCsZ62IxM3A/" alt="fibonacci numbers" width="283" height="352" /></p><p>Furthermore, you can refer students to notice that successive powers of <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBx6mSeuLpQ4nJ9gZSi5hHYxRIO8mwA3WwFKjCbWR5v-5rZjMw2oMhbpN5k51s_XJDY5YHyE9iqe4y3RYWpRWEnlgoEmy7d3PJNvqUvXNLQ0wUfnWQd5e-7CRLIPq1vuwhfaaqJFQxE-E/" width="14" align="top" height="16" />* present us with the Fibonacci numbers.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE-_ylGQNZeOGwJtiHtjoFMxhnynPZ4OIl0dI2BmH_GMgHsXd3mS43J6I_kSLqMa3kPCX3aGTYAQjG4TrgwaWuAW3lQ5sRXoXnBLFW1xrK8nOYge3JWYp2runlutO0JhgLYhyphenhyphenhz6tE9B8/" alt="fibonacci units" width="93" height="126" /></p><p>If, by now, the students didn’t see the connection, highlight the coefficients and the constants. This is quite incredible; two completely (seemingly) unrelated things suddenly in close relationship to one another. That’s what makes mathematics so wonderful!</p><hr /><p style="font-size: 11px;">* <a href="http://en.wikipedia.org/wiki/Fibonacci">Fibonacci</a> was not a clergyman, as might be expected of early scientists; rather, he was a merchant who traveled extensively throughout the Islamic world and took advantage of reading all he could of the Arabic mathematical writings. He was the first to introduce the Hindu–Arabic numerals to the Christian world in his Liber abaci (1202 and revised in 1228), which first circulated widely in manuscript form and was first published in 1857 as Scritti di Leonardo Pisano (Rome: B. Buoncompagni). The book is a collection of business mathematics, including linear and quadratic equations, square roots and cube roots, and other new topics, seen from the European viewpoint. He begins the book with the comment: “These are the nine figures of the Indians 9 8 7 6 5 4 3 2 1. With these nine figures, and with the symbol 0, which in Arabic is called zephirum, any number can be written, as will be demonstrated below”. From here on, he introduces the decimal position system for the first time in Europe. (Note: The word “zephirum” evolved from the Arabic word as-sifr, which comes from the Sanskrit word, used in India as early as the fifth century,“sunya,” referring to empty.)</p>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com11tag:blogger.com,1999:blog-3997925800934703931.post-79275607033397131942009-08-07T09:30:00.000-07:002009-08-07T09:39:23.262-07:00Suprising Number Patterns IV<p>Here are some more curiosities of mathematics that depend on the surprising nature of its number system. Again, not many words are needed to demonstrate the charm, for it is obvious at first sight. Yet in this case, you will notice that much is dependent on the number 1,001, which is the product of 7, 11, and 13. Furthermore, when your students multiply 1,001 by a three-digit number the result is nicely symmetric. For example, 987 • 1,001 = 987,987. Let them try a few of these on their own before proceeding.</p><p>Now let us reverse this relationship: Any six-digit number composed of two repeating sequences of three digits is divisible by 7, 11, and 13. For example,</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9NW_iarODonf2Kh8F8zHdjSxFKuV2nzPC8gsxfif-GSVg2zI0q6pnSslclnZRWkqSJuGpXsQvB-f16Y0jnv5XVElGnrzhNtB-SkCQ5bXy4dzDHxdaCL9w4nrsXvyL-qwM-z7SdQLNouE/" alt="suprising number pattern 11" /></p><p>We can also draw another conclusion from this interesting number 1,001. That is, a number with six repeating digits is always divisible by 3, 7, 11, and 13. Here is one such example. Have your students verify our conjecture by trying others.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKyuXtVYn9NKxoSkqsxBoUhIdTvouTengK8tYf2MEhN3H9gGPq8e3QB5sZLCJKnsg5baoCDqB2zUVZOx45S1KqPyVS2GQ22kvFa-4IG7MbVOcfQgtmFN282xB5tfq03fqVX1g-2C6bp20/" alt="suprising number pattern 12" /></p><p>What other relationships can be found that play on the symmetric nature of 1,001?</p><p>Again, not many words are needed to demonstrate the charm, for it is obvious at first sight. These depend on the property described in above and the unusual property of the number 9.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxKNMRRYPvLupIFFFLUj2Nhyphenhyphenf89RBuHiDROA9v9lJRnMtEoKticGG9usOH6GJ7wL5ZQenxViKWsY0Fy_99y5miG47Ro5WsMcMf54fZxVGqxTvAvZf9OlKSBz0GGwZBZnC72yEP9cLBPJw/" alt="suprising number pattern 13" /></p><p>Again, the number 9, which owes some of its unique properties to the fact that it is 1 less than the base 10, presents some nice peculiarities.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPlIKqNH9qmCGshuMnFcUohFHyx85Iv4FNApeNAVLJmE_cYj3lfyVH8Fp9V-kAdlZ6LwzThZxmaHoGKEDPjSjWFhGvqD6GJvT1hh-B42eiNEduGpx0LKy6LVJ_WSgJZQQ5w6hwhcuB0To/" alt="suprising number pattern 14" /></p><p>While playing with the number 9, you might ask your students to find an eight-digit number in which no digit is repeated and which when multiplied by 9 yields a nine-digit number in which no digit is repeated. Here are a few correct choices :</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSRGDeLWNF_k3AC3Krlm5mnZ8eotuDi40JuApFIsBe9T0sk8q-6lUiWcMeJLjsaQOJ_g_FQEiGpQdKhMVTel9qh9gtvGg52x4nXHreBdswYyDjG7D34if9AhIclWfBCMJUl-AnLP-ThZI/" alt="suprising number pattern 15" /></p><p>Here is another nice pattern to further motivate your students to search on their own for other patterns in mathematics. Again, not many words are needed to demonstrate the beauty of this pattern, for it is obvious at first sight.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUOtKZuDaPM66oFIu4ReOEkcFKwkI5tQBV8damMA1PrPLa7Qhl9eqvP7_EINYTrZhJM-6exBYAi-M0KZ4lN4GatlR0NiwPpOVNngDsgN7kDi82_DO1IiIURu6G8S8RSLUMdwRnV0-JZGY/" alt="suprising number pattern 16" /></p>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com33tag:blogger.com,1999:blog-3997925800934703931.post-15079725798662569262009-07-18T04:31:00.000-07:002009-08-07T09:34:56.616-07:00Suprising Number Patterns III<p>Here are some more charmers of mathematics that depend on the surprising nature of its number system. Again, not many words are needed to demonstrate the charm, for it is obvious at first sight. Just look, enjoy, and spread these amazing properties to your students. Let them appreciate the patterns and, if possible, try to look for an "explanation" for this. You might ask them why multiplying by 9 might give such unusual results. Once they see that 9 is one less than the base 10, they might get other ideas to develop multiplication patterns. A clue might be to have them consider multiplying by 11 (one greater than the base) to search for a pattern. </p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqwPELwcpufyBmGduFRYDU-vkmcXnwr_spkGblPUXdpPUnihiTPsiOI6UO57i1y3jyJeKW-inKIM9QdncRUw_vXeaQGi3I6g0zPne0FXV6-iicuBt4MNmXULI9fScGTZasK9ApEdUjO-0/" alt="suprising number pattern 8" /></p>A similar process yields another interesting pattern. Might this give your students more impetus to search further?<br /><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgTdVJF7RB9TXhc9EquHhe4r0Q_wsU5VWAWxj9oIZBxKaApdNZX3Ju2KRXyCAf6WsZNWeaYQLOML1mhd6PeHbIAiDcw-Lj597rnX8jjkMcfI-i2DfD1V7KsB3sMov90q72MK0cUlRqzlo/" alt="suprising number pattern 9" /></p>Now the logical thing to inspect would be the pattern of these strange products.<br /><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_m8tyVZ8yX99ORUXUcEdSjyOeDG34BVkhnC5fE5vAh5zNq00eCtT5B72iMkDcQkg15NRxdHcyS8t_cNDEBy37ht9jKN61C4WHZi3_Y3_vxsQMIT-3aRKCnpbTlWc8XKDmzXvSFP3pBJU/" alt="suprising number pattern 10" /></p>How might you describe this pattern? Let students describe it in their own terms.blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com7tag:blogger.com,1999:blog-3997925800934703931.post-51129172109224705632009-07-16T05:23:00.000-07:002009-07-16T05:37:24.704-07:00Panduan SEO dari GoogleGoogle akhirnya merilis SEO starter guide atau panduan dasar SEO dalam 40 bahasa setelah sebelumnya hanya merilis dalam bahasa inggris.<br /><br />link download dalam bahasa inggris<br /><a href="http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf">Search Engine Optimization Starter Guide</a><br />http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf<br /><br />link download dalam bahasa indonesia<br /><a href="http://www.google.co.id/intl/id/webmasters/docs/search-engine-optimization-starter-guide-id.pdf">Panduan Dasar SEO</a><br />http://www.google.co.id/intl/id/webmasters/docs/search-engine-optimization-starter-guide-id.pdf<br /><br />Untuk yang gak mengerti bahasa inggris ataupun indonesia, silahkan melihat hlaman dibawah ini :<br /><a href="http://googlewebmastercentral.blogspot.com/2008/11/googles-seo-starter-guide.html">Google SEO Starter Guide</a><br />http://googlewebmastercentral.blogspot.com/2008/11/googles-seo-starter-guide.html<br /><br />Kesimpulan.<br />Sayang sekali sepertinya format dalam bahasa indonesia ini hasil terjemahan kasar oleh Google Translator. Sehingga hasilnya kurang maksimal. Sampai-sampai lidah saya terlipat bacanya. hehehe. Anyway, saya bersyukur aja google udah <a href="http://googlewebmastercentral.blogspot.com/2008/11/googles-seo-starter-guide.html">SEO Starter Guide</a> ini.blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com8tag:blogger.com,1999:blog-3997925800934703931.post-71969731010989537972009-07-16T00:12:00.000-07:002009-07-16T05:46:45.821-07:00Suprising Number Patterns II<p>Here are some more charmers of mathematics that depend on the surprising nature of its number system. Again, not many words are needed to demonstrate the charm, for it is obvious at first sight. Just look, enjoy, and share these amazing properties with your students. Let them appreciate the patterns and, if possible, try to look for an "explanation" for this. </p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXwiZGDnf5BC8oWjSbNeZZDh021rmPdfHpsJmOp0C8OYylujYroxEs_lYjviJbtiB3jX89y1DrKz4o9vwvMDkXXgMrwg9XGbRv9RMsHiZsFjfU1sKagR9RMgsDD3IfoYtoi26rriDxIrQ/" alt="suprising number pattern 6" /></p>In the following pattern chart, notice that the first and last digits of the products are the digits of the multiples of 9.<br /><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4f_iK2OCEs5MPod1qUuq3jkf8Kifvn1gtLXgzLyKbn1NXG6yzMOXJmn-8EpLgr8DiHVc5qC5Nv7DYleNKhmSDwwB1QhWUNJZGFQigKAvUsqy-tDTvrOrT71_uhtgO0tHT9jL7ObxmT_o/" alt="suprising number pattern 7" /></p>It is normal for students to want to find extensions of this surprising pattern. They might experiment by adding digits to the first multiplicand or by multiplying by other multiples of 9. In any case, experimentation ought to be encouraged.blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com3tag:blogger.com,1999:blog-3997925800934703931.post-14925316368592269812009-07-16T00:03:00.000-07:002009-07-16T05:46:47.026-07:00Suprising Number Patterns I<p>There are times when the charm of mathematics lies in the surprising nature of its number system. There are not many words needed to demonstrate this charm. It is obvious from the patterns attained. Look, enjoy, and spread these amazing properties to your students. Let them appreciate the patterns and, if possible, try to look for an "explanation" for this. Most important is that the students can get an appreciation for the beauty in these number patterns.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioL_J69Ba7TPbhIp6ey3TAQ5qSfU_5fFNWVYuA8UKJcXbEpWrxEXDGAOCQovIi4h9R6hTRhk8UXqEvEpGogDlE8_RDp16jh8cev-ZYk_wEPLDIAHQJOK07ZkbBsfC0tygI8ILp2GkDy00/" alt="suprising number pattern 1" /></p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitUsvVamJ7tWXOrYrRhDL-lDvcbuXKBCXF3iZPfI50bsQMO-AMLJj0OSXYIQg1Mlume_EZEppsBChbcJ_B2QCFgizhtXoTN6sfFtgoI_pz3pGOfKSpzThvT0VxcBIsq5aii9RkbmQoUis/" alt="suprising number pattern 2" /></p>Notice (below) how various products of 76,923 yield numbers in the same order but with a different starting point. Here the first digit of the product goes to the end of the number to form the next product. Otherwise, the order of the digits is intact.<br /><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHXniVReII0FqXgjT_EfjwwT82gMKgsSGsRU0sfFaTpr9-UDmGyRg2sizb9upMqxUo3xVba16GAHUNB9lmpCNdSGgzOS9wD95M6YxraZGW5ui7rLSgmDQdNHhh9tzeiJd_Q-49-MHvca8/" alt="suprising number pattern 3" /></p>Notice (below) how various products of 76,923 yield different numbers from those above, yet again, in the same order but with a different starting point. Again, the first digit of the product goes to the end of the number to form the next product. Otherwise, the order of the digits is intact.<br /><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5C69cOp3oZBa7lKoMTwwC6SMlk8keAJ7ELJKoXXX5MJvZJgEOudyFraJVQtDPT-nAoLzRE8DWsIEaccfk-0jzuZF7jHe9egG-R37F0HbASYbG-AFIzImSrhJgdi1Fefy7LhsVJs20ky8/" alt="suprising number pattern 4" /></p>Another peculiar number is 142,857. When it is multiplied by the numbers 2 through 8, the results are astonishing. Consider the following products and describe the peculiarity.<br /><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBVte1xHHCbJWxfTGRYchKjkcjFqN-vCI7Z95XyjmqE3XD1NPSDWr6nEZ_24seO-KdayL1R18y97XJ7ZbO58telFfkqOIned2SkYBvwFod-Dm2ni49b2F7K73cOOsCZek9n72nEe63kKI/" alt="suprising number pattern 5" /></p>You can see symmetries in the products but notice also that the same digits are used in the product as in the first factor. Furthermore, consider the order of the digits. With the exception of the starting point, they are in the same sequence.<br /><p>Now look at the product, 142,857 • 7 = 999,999. Surprised ?</p>It gets even stranger with the product, 142,857 • 8 = 1,142,856. If we remove the millions digit and add it to the units digit, the original number is formed.<br /><p>It would be wise to allow the students to discover the patterns themselves. You can present a starting point or a hint at how they ought to start and then let them make the discoveries themselves. This will give them a sense of “ownership” in the discoveries. These are just a few numbers that yield strange products.</p>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com4tag:blogger.com,1999:blog-3997925800934703931.post-55784741095393011202009-06-18T23:12:00.000-07:002009-06-19T00:25:45.873-07:00Menambahkan fitur menu develop pada safari windows dan mac<p><a href="http://www.apple.com/safari/">Safari</a> adalah web browser dari <a href="http://www.apple.com/">Apple</a> yang dikembangkan dari open source <a href="http://webkit.org/">Webkit</a>. Safari hingga tulisan ini dibuat telah mencapai versi 4. Dan browser safari ini tersedia di 2 OS yaitu Mac dan Windows.</p><p>Salah satu fitur yang mungkin jarang diketahui oleh para pengguna browser ini adalah adanya fitur menu “develop” yang berisi pilihan2 aneh (:P). Mungkin bagi sebagian orang menambahkan fitur ini akan memperlambat kinerja browser ini tapi bagi developer web, fitur ini menjadi sangat penting keberadaannya.</p><p>Oleh karena itu artikel kali ini akan membahas bagaimana cara menambahkan fitur menu develop pada safari agar dapat beroperasi seperti firebug pada firefox.</p><span class="fullpost"><p>Untuk menampilkan fitur develop ini :</p>1. Pengguna Mac.<br /><br />Apapun versi Safarinya, lewat command line, buka terminal window dan tulis perintah ini<br /><pre class="code">defaults write com.apple.Safari WebKitDeveloperExtras -bool true<br />defaults write com.apple.Safari IncludeDebugMenu 1</pre><p>2. Pengguna Windows</p><strong>Untuk Safari 3.x</strong><br />Masuk kedirektori dibawah ini sesuai OS anda :<br /><br />Windows XP<br /><pre class="code">C:\Documents and Settings\USERNAME\Application Data<br />\Apple Computer\Safari\<strong>Preferences.plist</strong><br /></pre>Windows Vista<br /><pre class="code">C:\Users\USERNAME\AppData\Roaming\Apple Computer<br />\Safari\<strong>Preferences.plist</strong><br /></pre><strong>Untuk Safari 4.x</strong><br />Masuk kedirektori ini<br /><pre class="code">C:\Program Files\Safari\Safari.resources\<strong>defaults.plist</strong><br /></pre><p>Tambahkan perintah yang dicetak tebal pada file yang sesuai dengan versi Safari atau Windows anda.<br /></p><pre class="code"><dict><br />.....<br /><key>IncludeDebugMenu</key><br /><true/><br /></dict><br /></pre><p>Restart Safari anda dan lihat hasilnya.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqAZkC0hZxORIUevq7MSG0g1711loi26U0g4X1w9IWUYkyLULdw7y8rRbd3tma4kyaU7RVGmrhslswDKOTZ2fFKmrhhJuxKyCNZkvyHiqcn8CUhxkpp6uWJT9UwzrqZDe6ZN_9MWjqFVY/" title="menu develop muncul pada safari windows" alt="menu develop pada safari windows" width="488" height="289" /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCiWOuFZry85YDpCAfTsKd52pH7MkGFZUv3lMCqcU3HfT_eSimMAU3Hv5rEUy0iSbNlQEx4AG434kKWqMgrg2Kbf-jfpkZWCqSDYPpvyyg6KsmLN3GzlCgqBd_UW-baUl2XN5St4-wt-k/" title="menu develop muncul pada safari mac" alt="menu develop pada safari mac" width="332" height="294" /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcYN85tFK_3iLc7PaZ4wcc7vZvzr2sV9khShWGYBEP9sxWAsIO5hemacU7Xl2XuvTBY0zEpmoWWlY5-czHrzUzahMsn9uaHVLnJnkNhHgy7RD6VRMU2apivE4Cxpw-zWhWkx4ddaHRm3I/" title="inspect elemen pada safari" alt="inspect elemen pada safari" width="384" height="281" /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhecuiG-ffubFFyCI_ZYXtinunvNnw5GLf4c6c-Uil9hXTzWJCKtW2B_oJjpj8-e0LxkOWaIA9VcdUMuYqRWdRaOR3IQimW7U5VopyKsqlPVrXZi9Zpf7g8HV8SYGUFwfi7CJYPpugqxY8/" title="waktu eksekusi resource web" alt="waktu eksekusi resource web" width="383" height="280" /><br /></p><p>Cara singkat :<br /></p><p>Heheh, tp saya punya cara yang singkat tanpa perlu restart Safari. Masuk Preferences Safari kamu, lalau pilih tab Advanced. Centangkan pilihan Show Develop menu in menu bar. Close window Preferences dan lihat hasilnya di menu bar akan sama hasilnya dengan cara2 susah diatas.</p><p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPloTdyrfGumlzGpbXcaMf0IAZrp5DaQyg-uvsPduokRVo4HBp0nmQ4b-i5JmG-OKQxEdnpuLkuy3FcSf3vKrNSgt6mfJGeJ2saYT9ItX0w_rBAst3cNTQrPSiYQmjar479q4KtoXHRr4/" alt="menu preferences tab advanced safari" title="centangkan pilihan show develop menu" width="459" border="0" height="307" /></p><br /></span>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com1tag:blogger.com,1999:blog-3997925800934703931.post-22536150997196353892009-06-10T02:41:00.000-07:002009-06-18T23:15:26.973-07:00Membuat GWT Project pada IDE Eclipse<p>Google Web Toolkit (GWT) adalah framework open source yang dapat membantu kita dalam membuat Rich Internet Application (RIA) dengan menggunakan bahasa pemograman Java. Bagian terpenting dalam membuat RIA itu adalah Javascript, nah disini GWT akan membantu kita menerjemahkan kode Java kedalam Javascript. Tetapi bukan berarti dengan menggunakan GWT ini kita tidak diizinkan untuk membuat web dengan Javascript. Kita bahkan dapat memasukkan kode Javascript untuk berinteraksi dengan GWT. Bisa memasukkan jQuery, Dojo, dll.<br /><br />Saya akan membagi tutorial ini menjadi 4 bagian<br /></p>1. Menginstall GWT<br />2. Membuat Project GWT dengan utility scripts bawaan GWT<br />3. Import Project GWT ke IDE Eclipse<br />4. Menjalankan Project GWT<br /><span class="fullpost"><p><strong>Menginstall GWT</strong><br />Untuk menggunakan GWT ini, terlebih dahulu kita harus mendownload java2sdk dari sun. Untuk menginstall java2sdk ke windows atau linux silahkan lihat <a href="http://blogupiel.blogspot.com/2009/06/how-to-install-jdk.html">disini</a>. Mendownload GWT dari <a href="http://code.google.com/webtoolkit">http://code.google.com/webtoolkit</a>. Saat tulisan ini dibuat GWT telah mencapai versi 1.6.4. Jika sudah mendownload GWT versi terbaru silahkan ekstrak ke direktori mana saja anda suka. Tetapi kali ini saya memilih di drive C:\<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKSgB0fksOPfZ6ODa0JQkSS3TJc-wueOaTQamQJYyZfcQxXtsFK0-MtrzFKr5XxptyJAV5uXzvmAD1U1DLGHnHJJWn5QJRGgLCe9QLqR6N8Wf8TMfN_gNXnDGnkF6nxtE52i9oDfoqItI/s400/direktori_GWT.png" alt="GWT directory" /><br /><br /></p><ul><li><em>gwt-servlet.jar</em> dan <em>gwt-user.jar</em> adalah library yang mengandung GWT API. Kedua file ini dibutuhkan selama proses development dan runtime.</li></ul><p> </p><ul><li><em>gwt-dev-windows.jar</em> adalah library yang spesifik bergantung pada OS yang dipakai. Librari ini mengandung GWT compiler dan file dll yang berhubungan pada saat mode Hosted. Untuk linux dan mac adalah <em>gwt-dev-linux.jar</em> dan <em>gwt-dev-mac.jar</em>.</li></ul><ul><li><em>applicationCreator.cmd</em>, <em>benchmarkViewer.cmd</em>, <em>i18nCreator.cmd</em>, <em>junitCreator.cmd</em>, dan <em>projectCreator.cmd</em> adalah comman line scripts atau batch yang akan membantu kita membuat aplikasi GWT. File-file ini selanjutnya saya sebut utility scripts.</li></ul><ul><li>Direktori <em>doc</em> mengandung <em>Javadoc</em> untuk library GWT dan direktori samples mengandung contoh-contoh<br /></li></ul><p> <strong>Membuat Project GWT dengan utility scripts bawaan GWT</strong><br />Saya tidak akan menjelaskan file-file didalam folder GWT lebih mendalam lagi karena sayapun masih pemula. Hehe. Ok. Kita langsung saja membuat aplikasi hello world sebagai awal. Disini saya akan membuat project GWT dengan nama myWeb yang berbasis IDE eclipse untuk IDE Netbeans liat <a href="http://www.javapassion.com/handsonlabs/ajaxgwtintro/">disini</a>. Gunakan <em>projectCreator.cmd</em>. masuk ke command prompt GWT ketikkan <em>projectCreator.cmd -eclipse myWeb -out myWeb</em>. Akan tampil :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIafA1wPtVms6KmubKJBTuUWhA2zeQckfQ7Rm5LTbwEv4MoPWpX_SkCuHG4w5V6Xuwk_cyTOUdzXjA2_Ux8AMhttUp2ynXSKaP0Oe0j19mtFhC35mTSoIOYQ2ADh1NMud0_8NaEKF4B1g/" alt="cmd GWT project creator" /><br /><br />Nah kemudian dengan <em>applicationCreator.cmd</em>.<br />Ketikkan <em>applicationCreator.cmd -eclipse myWeb -out myWeb com.unhas. web.client.App</em>. Akan tampil :<br /><br /><img style="width: 526px; height: 147px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKpBw_hgiPINufedE_iNXNlmmz2RXbPUKHpSbxiP9VilOaZxTbTg3xRjIL_4m9jvfeEnAg6HFSqlRdyh8F7tB1LNYyxWHPOMR5Al7dhnsOipZIVIRvGpMRGx5YtG0wZD4QBM25IyIHX3A/" alt="GWT application creator" /><br /><br /><strong>Import Project GWT ke IDE Eclipse</strong><br />Klik kanan pada jendela project di Eclipse. Klik kanan ditempat yang kosong maksud saya.<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6MvXMBXVHXVKXCkYRyQvwimRl3qSWS_JtpPZqky19kKr1vnyW8AoXU6Q7vQIpqC7mVxwEYvaJ8GR_oX8nn5XP9ybWKF8LnTh2uZdCYKjP2BB9OqeD9rn3MWiIoNQq8B3wEC-dAxpYwUo/" alt="Eclipse import GWT project" /><br /><br />Trus pilih import…, maka akan muncul jendela dibawah ini :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy_6aJ_aFzvD3ijRsnI4w7giAFgHESghzTwcWmEROfefLgqRXrm5t97fJZZjVWYjdM0Y6RVHBUgVA_fLF7mMDzaM9m48qfVFHBCGfyTBDfSSlP0t_9f9JZSwPnULP3QyZn_qa4w2DF-s0/s400/import_window_1.png" alt="Eclipse import existing project" /><br /><br />Pilih “Existing Projects into Workspace”. Kemudian klik tombol Next akan muncul jendela :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoQVxGhSd449YfBTilDkYGdyl_Wpct2pu1PRD2M_hoASfoTbJwbgRN5z8ZGUv6Z5wLyeiWL1_TLvT1eOZ6Wy7I6MzdztGAb1KQD1AzFHBo3FjCzOfm9n8TOE84ig_marROpLbWZRYCGPE/s400/import_window_2.png" alt="Eclipse Select existing GWT project" /><br /><br />Klik tombol browse dan cari folder myWeb di folder ekstrak . Kemudian klik Finish. Dan project tadi akan di import ke IDE Eclipse kita yang hasilnya adalah sebagai berikut :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg3JQpxKDYfM0eq4ohTRVZ_umB2lAgLspR6TaP_dgYfYK5g23k_Ha9ElRoHgY4lRvWF8HQYetWUvgQiI4aij9ZV58LxMXReCuLowTriALMrckwd7q8S-exuWns9vDUTo2uvJgmOIzQJSw/" alt="Eclipse GWT project" /><br />Umumnya pada setiap project GWT terdapat 2 buah folder yaitu <em>client</em> dan <em>public</em>. Seperti yang anda liat file dgn ekstensi .java selalu berada pada folder client dan file HTML ada pada folder public. Ini berarti kita dapat menambahkan file JSP, image, video, dll ke folder public.<br /><br /><strong>Running GWT Project</strong><br />Klik kanan pada file <em>App.launch</em><br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3aSRgP2U-NhCNdhTs91pXr5O_tD5OW4KoyTTSy9tXZQpwXrY-IxCIoQvEuoUnE62C9ZiUXOMePfI4FCAvbE9g30yc0axtQrDuW367qtR8yE_KeMFhEjIvm1DpAmA_dOGczOWbnpY7Xl4/" alt="Eclipse run as GWT project" /><br /><br />Pilih <em>Run As</em> > <em>App</em>. Dan akan tampil 2 jendela sbb :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIerPiMkDdrQYM3dpqrwYsxY9GGd2B2OtRka4STXnay6lgJ9NEm1yKhDbo8q5iVtbDASLO1sAdrWxmBZE_Gk96f9FbkMwzU9nN7-npWifvnviPSjtvDfkep1hlUoNE4-MfhwnawPtPGrI/" alt="GWT Development Shell" /><br /><br />Inilah hasilnya dalam Hosted Mode. Jika ingin dalam Web Mode klik <em>Compile/Browse</em>:<br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg_BJPHUns4dccsJ0jwr4_90ew9n5P557Ug9RPfykpEIgBKTxw8A-IDpkrdwhk1huygUU-LeypMp8pk6P0A7QYHMeuRbMTJN1l-DhKkLLFQHUA9gehR33MPfFtPq4HmF5bpZdaAA9X9wo/" alt="GWT default example" /><br /><br />Loh kok tampilannya bisa begitu, itu karena generated code yang dihasilkan dengan utility scripts pada bawaan GWT. Anda dapat merubahnya pada file App.java yang mengimplementasikan EntryPoint pada onLoadModule().</p></span>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com0tag:blogger.com,1999:blog-3997925800934703931.post-73569334210452832262009-06-10T02:12:00.000-07:002009-07-13T22:31:35.351-07:00Cara menginstall Java SDK di Windows langkah demi langkah<p>Tutorial ini diperuntukkan bagi orang-orang yang amat sangat terlalu awam bagi dunia java (heheh…). Tutorial ini akan saya bagi menjadi 3 bagian, yaitu :<br /></p>1. Menginstall Java SDK<br />2. Mengantur Environment Variables Windows<br />3. Mengcompile dan menjalankan program dengan Java<br /><span class="fullpost"><p><strong>Menginstall Java SDK</strong><br />Downloadlah terlebih dahulu Java SDK terbaru disini. Kali ini saya mempunyai Java SDK 6 Update 12.<br />Klik 2x program yang telah anda download tadi, sambil menunggu beberapa saat sampai muncul :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhl2kgy-Pu0MHyV0w-jAs4bb_mhUhWN7rW5Oyrcs8jFDEcMJjrWbhFP_1wM3sfrgPn92ZiIqYdXXNIajxV_pyc6v4t4tuN4iBpf5xoHUccBnbqPDvWPUoDy-qP9OK2F_h8f2ScqXmcnsE/" /><br /><br />Kemudian kita akan dibawa ke window dibawah ini :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr45umO43ZsE_2YGX2R5lBWxEa4DfrsbEw5S1YYsd-KJ_BfQl19V9D8HwMGnJL3smLATNizPBIQIVmwoE1LCT2HkKSBrpywytPoIna_wen80zGutVzv-nCLIPQ2phJ6I1Xwe8GEkPTEMA/" /><br /><br />Klik tombol <em>Accept</em> dan kita akan dibawa ke window <em>Custom Setup</em> :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKOwdI3UhyecmNOb8iWKQBPW6-mZ3MzKqwY52rMM9sEEJqvV0aCH1y2SNm89qf-lBGwrHO9BS94Kkqw221k6Jn8pzNhO9mHZK5ic82vRzpHBQuh4W4xk-StAhODkqFOSyKGRh6ElQUQxg/" /><br /><br />Terdapat 4 pilihan :</p><ol><li>Development Tools, ini berisi tentang tools untuk membuat program java. Seperti compile, debug, dll.</li><li>Demos and Samples, ini berisi tentang demo dan sampel program dalam bahasa Java. Dan ini baik untuk dipelajari sorang pemula.</li><li>Source Code, ini berisi tentang source code java dari demo dan sampel.</li><li>Java DB, ini berisi tentang tools untuk berhubungan dengan engine database.</li></ol><p>Kali ini saya akan menginstall semuanya kemudian klik tombol <em>Next</em>. Tunggu sampai proses menginstall selesai.<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZj3zZATH0SIJQb8LtlzQ7EKu_Ee6lUuL3au_qa217u9Elj9VKZR6BxQGZ6HhrCghJFivuvqoqbTVeUZaht0sLyVCRubIJas8WZwTpYS8LqahMFbauihbJgZ-wef5z_s33QBHXh6UJi_8/" /><br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgROiPkCvLWmmIthtKi0spv54JGZJIDbSCAmA0VhT89E4z36veldpmdFw2xkvNEzF4_wrhi4T4FydKzd7HWhWs28kevbSdL5DVL-iI8yWVEsFe07chngExrkdz-0d76IX6mgfp7eVBaqdw/" /><br /><br />Klik tombol finish sebagai tanda proses instalasi telah selesai.<br /><br />Coba pindah ke direktori <em>C:\Program Files\Java</em>, maka anda akan mendapatkan struktur direktori seperti dibawah ini :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW45nhlU4X4yl13SbqmLPQJMjjp1d3Ekl9g8cfwXFADs7FgYbihELQiU1MIRjaTAKaelJcKp_ku99OOUO09dgc0AAtlO5vYFpD3sHFY_GqkU6S0mkQ2dl6InhztW_tPmqUnP9UCNmvpAU/" /><br /><br /><strong>Mengantur Environment Variables Windows</strong><strong> </strong><br />Selanjutnya kita akan mengatur lingkungan variabel windows. Pertama adalah lingkungan java runtime dan kedua adalah lingkungan JDK. Untuk memastikan apakah java runtime telah terinstal dengan baik, masuk ke sembarang direktori dengan cmd seperti dibawah ini :<br /><br /><strong> </strong><strong> </strong><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRFImmxQS5y_VDrAFiUxXJCuYW0EGAUg9J1KOjrEhRgA8MEK0ckDvnIppJBPn2lWaCYVDNfd_h202rYRIa5_l7a6Dzk7cEEKu9BSJujP99JRm7_2r6u1R12FLGGLSX1Rl31PTmYgPcwBk/" /><br /><br />Terlihat ada respon, ini berarti java runtime telah terinstall dengan baik. Bagaimana dengan JDKnya, masuk ke sembarang direktori dengan cmd seperti dibawah ini :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfVA2lm0pMJHAuThPnxIZWkYlIVZzL2lZVPeXWDJvlihDMwh7eNQmjNhUdLzqjRngt65qkrZETNmb-Ip4YUt0WFFsTfTN8wjVGHw6Jyd9bDbSXMhQrzzNdaALmhzdrItRt78C9dBvLeJ4/" /><br /><br />Terlihat bahwa javac sebagai compiler java tidak dikenali di lingkungan windows. Segera masuk ke <em>System Properties Windows </em>dengan mengklik-kanan icon <em>My Computer </em>lalu pilih <em>Properties</em>.<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn6J5bGCW01uTHn9KiIXy00SnbaDV4BVP86uubhr2_Zbs5VHdM7qkC2j7zkQ5b0tMM4mmTnMadcmAltHKhIvQIeujhdN9rYds29igoqdc00_v_4Z4d1clV3DvLQqOfd-NHdAa3vW_NvFE/" /><br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUAzTFOsVI-G-NmYlo3EIJX0i0YpCXwWFW3kfAxmGRfdlEv8x1R_uV1rxA6YauPC1ZVhYV2siThArbo5IoY0Fr653VnHuxBR4RSSAsDek_tidjZ-fmOnFEX5_81B_QXa8ra4NMRKyxTXM/s400/system_properties_window.png" /><br /><br />Pilih <em>Environment Variables</em>, Kemudian akan muncul jendela :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtchDID9vdXG8ctJWEesohkPOouBhWt60I-cmH_kgurLtX7Xhn4u4P-hYeCAaSWW22DFxRjWXRJufPakjHxH7qQPNeEEH_uqlQh_569BKGXaCYnMheCbXnjH0_m1NTZRJgpPtbTtkMI2o/s400/environment_variables_window.png" /><br /><br />Pilih tombol New, bahwa kita akan membuat system variable baru. Liat alamat direktori jdk anda, lalu masukkan di <em>Variable value</em> seperti dibawah ini :<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYarcz1ueHf9Fch4Zx00zKrSNcsrz2I39C32vpA9N0BMjaVFPj7Zr40BSXwVbBmyog6Ci6I3VkTgOLhHh6-RytU-cp8E7pu5JZT_bkbxfAf29VThgqgIimdBcmPD3hROO7XC6mMVggEWE/" /><br />Pilih OK.</p><p> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLHCwWg5XAlZid468IMAa68eTe2rVygiNkvB1sqea3fg9Ge2EDl3b2g77g3isfwEr-x5ExsfxwrB_-83dfj1KeyuUR9ApbEpClZVrD-JxNK7oWaCsCw9xPDUzPVdISBSYXxnsNp4-zSME/s400/environment_variables_window_2.png" /><br /><br />Pilih <em>Edit</em>.<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1CnsveQnY1ie4_VBqrb2voY56Uix7aoakZ5KmgrnNiIRX2GjzvOHGBqdKWJMMzd7rVFBVO1yWVlD5wQlI7oHS_KxoRgO4aP1l0gvhb7JbHGzI_RFXOejz3EJCG60mQV-gPwlQ_n-IKx0/" /><br /><br />Tambahkan <em>%JAVA_HOME%\bin</em> di <em>Variable value</em>. Ingat jangan menghapus nilai sebelumnya, kita Cuma menambahkan setelah karakter ;. Lalu pilih OK. Dan pilih OK lagi di jendela <em>Environment Variables</em>.<br /><br /><br />Untuk memastikan apakah settingan kita berjalan dengan baik. Buka jendela cmd yang baru, lalu ketikkan javac.<br /><br /><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAVyydyqn6Q3LiPTdShzMh9smxFEoK2Kc486gmc1ad7A_Fa-8sQnUg1x5h_snDkQz0LJ3vsSvhytefwRnAf8hz4OrQmefJkWc8sAu-miOnoihqaIvPBvMHw_dLh5jUTk29KyHeWWLcCW4/" /><br /><br />Ada respon. Berita baik, berarti settingan kita berjalan dengan baik.<br /><br /><strong>Mengcompile dan menjalankan program dengan Java</strong><br />Buat file baru dengan nama coba.java.<br />Lalu masukkan skrip dibawah ini :<br /></p><pre class="code">public class coba{<br />public static void main(String args[]){<br />System.out.println("oiiii java ..... i'm coming");<br />}<br />}</pre><p>Compile file coba.java dengan perintah <em>javac coba.java</em>. Jika ada error liat kembali skrip anda dan perintah compilenya. Berhasil tidaknya ditandai dengan tidak adanya respon dari compiler java.<br /><br />Jalankan dengan coba.java dengan perintah <em>java coba</em><br />Untuk lebih mudah silahkan lihat gambar dibawah ini :</p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipqcE8iFeHKQ2HOLgDRykU9o1TinoKM_fckz2Oi6G3tsyA9DOOlwgVUhp3edPkGR_5GARtMt5r2naVS4191PWxviGRIZ4W72Ohc6q4Ls_NEZUjg5hYLwaXF0QTjFut3FiVc-IKEPwfk58/" /></span>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com6tag:blogger.com,1999:blog-3997925800934703931.post-18889747184615889162009-03-27T05:10:00.000-07:002009-07-16T05:52:44.578-07:00Most used css tricks<p>Earlier before I have written an article about current best CSS hacks which you can see <a href="http://blogupiel.blogspot.com/2009/03/most-best-css-hacks.html">here</a> And now here's the list of today's most used CSS tricks and tips. I have added image examples for most of them because of critics on CSS hacks article. If you think I have missed any please let me know</p><span class="fullpost"><h5>1. Rounded corners without images<br /></h5><div class="code"><div id=<span style="color: rgb(255, 0, 0);">"container"</span>><br /><b class=<span style="color: rgb(255, 0, 0);">"rtop"</span>><br /><br /><b class=<span style="color: rgb(255, 0, 0);">"r1"</span>></b> <b class=<span style="color: rgb(255, 0, 0);">"r2"</span>></b> <b class=<span style="color: rgb(255, 0, 0);">"r3"</span>></b><br /><b class=<span style="color: rgb(255, 0, 0);">"r4"</span>></b><br /></b><br /><br /><!--<span style="color: rgb(0, 0, 0); font-weight: bold;">content</span> goes here --><br /><b class=<span style="color: rgb(255, 0, 0);">"rbottom"</span>><br /><b class=<span style="color: rgb(255, 0, 0);">"r4"</span>></b> <b class=<span style="color: rgb(255, 0, 0);">"r3"</span>></b> <b class=<span style="color: rgb(255, 0, 0);">"r2"</span>></b><br /><b class=<span style="color: rgb(255, 0, 0);">"r1"</span>></b><br /><br /></b><br /></div><br /><br /><span style="color: rgb(102, 102, 255);">.rtop</span>, <span style="color: rgb(102, 102, 255);">.rbottom</span><span style="color: rgb(102, 204, 102);">{</span>display<span style="color: rgb(51, 51, 255);">:block</span><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.rtop</span> *, <span style="color: rgb(102, 102, 255);">.rbottom</span> *<span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">display</span>: <span style="color: rgb(153, 51, 51);">block</span>; <span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>: <span style="color: rgb(153, 51, 51);">1px</span>; <span style="color: rgb(0, 0, 0); font-weight: bold;">overflow</span>: <span style="color: rgb(153, 51, 51);">hidden</span><span style="color: rgb(102, 204, 102);">}</span><br /><br /><span style="color: rgb(102, 102, 255);">.r1</span><span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">margin</span>: <span style="color: rgb(153, 51, 51);">0</span> <span style="color: rgb(153, 51, 51);">5px</span><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.r2</span><span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">margin</span>: <span style="color: rgb(153, 51, 51);">0</span> <span style="color: rgb(153, 51, 51);">3px</span><span style="color: rgb(102, 204, 102);">}</span><br /><br /><span style="color: rgb(102, 102, 255);">.r3</span><span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">margin</span>: <span style="color: rgb(153, 51, 51);">0</span> <span style="color: rgb(153, 51, 51);">2px</span><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.r4</span><span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">margin</span>: <span style="color: rgb(153, 51, 51);">0</span> <span style="color: rgb(153, 51, 51);">1px</span>; <span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>: <span style="color: rgb(153, 51, 51);">2px</span><span style="color: rgb(102, 204, 102);">}</span><br /></div><p><img class="mainslika" alt="Rounded corners without images" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6l4zkBX6Q3ax0e0EpQyaIbnPEcgulmDf_0FQnU6IKaq-J4fQgScXiOwOcP0uJt56G06W2sV4yjKzBSkUiHHeJR0zQ_HipdoiM-8cv54SQWtLO1Ne-6lF3StBqQlGcKoPX2ylrNtNar_8/" /></p><h5>2. Style your order list<br /></h5><div class="code"><ol><br /><li><br /><br />This is line one<br /></li><br /><li><br /><br />Here is line two<br /><br /></li><br /><li><br /><br />And last line<br /></li><br /></ol><br /><br />ol <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">font</span>: <span style="color: rgb(153, 51, 51);">italic</span> <span style="color: rgb(153, 51, 51);">1em</span> Georgia, Times, <span style="color: rgb(153, 51, 51);">serif</span>;<br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">color</span>: <span style="color: rgb(204, 0, 204);">#<span style="color: rgb(153, 51, 51);">999999</span></span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /><br />ol p <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">font</span>: <span style="color: rgb(153, 51, 51);">normal</span> <span style="color: rgb(102, 102, 255);"><span style="color: rgb(153, 51, 51);">.8em</span></span> Arial, Helvetica, <span style="color: rgb(153, 51, 51);">sans-serif</span>;<br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">color</span>: <span style="color: rgb(204, 0, 204);">#<span style="color: rgb(153, 51, 51);">000000</span></span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><p><img class="mainslika" alt="Style your order list" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP2kf8JuDNzyWGgFhwixbPGMUksst3XP0idp8gzpVIRIOXo2HgVJTejcNlK6doHnoaBX_vQ1YkgnKrw9AnnEgC5zME-cfouwppb5Y7zQhkmJ5DY5x_7eXDhhUfRZJCm3qK8WbrW1HV-70/" /></p><h5>3. Tableless forms<br /></h5><div class="code"><form><br /><label for=<span style="color: rgb(255, 0, 0);">"name"</span>>Name</label><br /><input id=<span style="color: rgb(255, 0, 0);">"name"</span> name=<span style="color: rgb(255, 0, 0);">"name"</span>><br><br /><label for=<span style="color: rgb(255, 0, 0);">"address"</span>>Address</label><br /><input id=<span style="color: rgb(255, 0, 0);">"address"</span> name=<span style="color: rgb(255, 0, 0);">"address"</span>><br><br /><br /><label for=<span style="color: rgb(255, 0, 0);">"city"</span>>City</label><br /><input id=<span style="color: rgb(255, 0, 0);">"city"</span> name=<span style="color: rgb(255, 0, 0);">"city"</span>><br><br /></form><br /><br />label,input <span style="color: rgb(102, 204, 102);">{</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">display</span>: <span style="color: rgb(153, 51, 51);">block</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span>: <span style="color: rgb(153, 51, 51);">150px</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">float</span>: <span style="color: rgb(0, 0, 0); font-weight: bold;">left</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">margin-bottom</span>: <span style="color: rgb(153, 51, 51);">10px</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /><br />label <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">text-align</span>: <span style="color: rgb(0, 0, 0); font-weight: bold;">right</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span>: <span style="color: rgb(153, 51, 51);">75px</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">padding-right</span>: <span style="color: rgb(153, 51, 51);">20px</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /><br />br <span style="color: rgb(102, 204, 102);">{</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">clear</span>: <span style="color: rgb(0, 0, 0); font-weight: bold;">left</span>; <span style="color: rgb(102, 204, 102);">}</span><br /></div><p><img class="mainslika" alt="CSS Tableless forms" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOLVJkFh5FB0lD6sIw07mkiyYrqzMSMhnoDqtZKC4Dr30M4GwkvGEVEiGgXttfeG5z9QPrWrGk1xOKB_WScogZdmwpKd61jrRrHY5sAKDQa0cyBglx2wEWB65FB0esT2jEisxgvj5j0x0/" /></p><h5>4. Double blockquote<br /></h5><div class="code">blockquote<span style="color: rgb(51, 51, 255);">:first-letter</span> <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background</span>: <span style="color: rgb(153, 51, 51);">url</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(153, 51, 51);">images/open-quote<span style="color: rgb(102, 102, 255);">.gif</span></span><span style="color: rgb(102, 204, 102);">)</span> <span style="color: rgb(153, 51, 51);">no-repeat</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">left</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">top</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">padding-left</span>: <span style="color: rgb(153, 51, 51);">18px</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">font</span>: <span style="color: rgb(153, 51, 51);">italic</span> <span style="color: rgb(153, 51, 51);">1</span><span style="color: rgb(102, 102, 255);"><span style="color: rgb(153, 51, 51);">.4em</span></span> Georgia, <span style="color: rgb(255, 0, 0);">"Times New Roman"</span>, Times, <span style="color: rgb(153, 51, 51);">serif</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><p><img class="mainslika" alt="Double blockquote" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQGX8LK8BEVzY2XHzL9PwiyLyHcA_Mur1RMFGTKThil3vUs6FqPextE0f_g7PPt_zIAecXWO13XADcDf97x1zzVS950uvQUjl6XBqQTkI7OaH0uGNTluL7vCKmAh1-3tsju5dRtMi0hJU/" /></p><h5>5. Gradient text effect<br /></h5><div class="code"><h1><span></span>CSS Gradient Text</h1><br /><br />h1 <span style="color: rgb(102, 204, 102);">{</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">font</span>: <span style="color: rgb(153, 51, 51);">bold</span> <span style="color: rgb(153, 51, 51);"><span style="color: rgb(153, 51, 51);">330</span>%</span>/<span style="color: rgb(153, 51, 51);"><span style="color: rgb(153, 51, 51);">100</span>%</span> <span style="color: rgb(255, 0, 0);">"Lucida Grande"</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">position</span>: <span style="color: rgb(153, 51, 51);">relative</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">color</span>: <span style="color: rgb(204, 0, 204);">#<span style="color: rgb(153, 51, 51);">464646</span></span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br />h1 span <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background</span>: <span style="color: rgb(153, 51, 51);">url</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(153, 51, 51);">gradient<span style="color: rgb(102, 102, 255);">.png</span></span><span style="color: rgb(102, 204, 102);">)</span> <span style="color: rgb(153, 51, 51);">repeat-x</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">position</span>: <span style="color: rgb(153, 51, 51);">absolute</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">display</span>: <span style="color: rgb(153, 51, 51);">block</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span>: <span style="color: rgb(153, 51, 51);"><span style="color: rgb(153, 51, 51);">100</span>%</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>: <span style="color: rgb(153, 51, 51);">31px</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /><br /><!--<span style="color: rgb(102, 204, 102);">[</span>if lt IE <span style="color: rgb(153, 51, 51);">7</span><span style="color: rgb(102, 204, 102);">]</span>><br /><style><br />h1 span <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background</span>: <span style="color: rgb(153, 51, 51);">none</span>;<br />filter: progid<span style="color: rgb(51, 51, 255);">:DXImageTransform</span><span style="color: rgb(102, 102, 255);">.Microsoft</span><span style="color: rgb(102, 102, 255);">.AlphaImageLoader</span><br /><span style="color: rgb(102, 204, 102);"> (</span>src=<span style="color: rgb(255, 0, 0);">'gradient.png'</span>, sizingMethod=<span style="color: rgb(255, 0, 0);">'scale'</span><span style="color: rgb(102, 204, 102);">)</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /></style><br /><br /><!<span style="color: rgb(102, 204, 102);">[</span>endif<span style="color: rgb(102, 204, 102);">]</span>--><br /></div><p><img class="mainslika" alt="Gradient text effect" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4lYcG_valqt-ZzaD1S412GcFyoC3lUi5ZA52848kujgIA2Lcia01V2ttNFhF4kpl2pEcoNZt7fPrYLW18Tw_oWZF1wW-m9PUQmUX5nec6nkXx16h-vjKkEMmjgj_cQ-a8gVhcbO3QBtQ/" /></p><h5>6. Vertical centering with line-height</h5><div class="code">div<span style="color: rgb(102, 204, 102);">{</span><br /><br />height<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">100px</span></span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br />div *<span style="color: rgb(102, 204, 102);">{</span><br />margin<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0</span></span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /><br />div p<span style="color: rgb(102, 204, 102);">{</span><br />line-height<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">100px</span></span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /><br />Content here<br /></div><p><img class="mainslika" alt="Vertical centering with line-height" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFHWhd1val2CEkKY9LW5khy86fUXTc4LgodpHmcXtdU0Et3uy1w-qmYtWyGyPVgUFXCvNTNzFcFozFDyvfn5DIEehHRncX5zJl0x4g40m5Fu84OCVu5K6Eg3sdjPLdDIOGZJhR1JlQm04/" /></p><h5>7. Rounded corners with images<br /></h5><div class="code"><div class=<span style="color: rgb(255, 0, 0);">"roundcont"</span>><br /><div class=<span style="color: rgb(255, 0, 0);">"roundtop"</span>><br /><img src=<span style="color: rgb(255, 0, 0);">"tl.gif"</span> alt=<span style="color: rgb(255, 0, 0);">""</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span>=<span style="color: rgb(255, 0, 0);">"15"</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>=<span style="color: rgb(255, 0, 0);">"15"</span> class=<span style="color: rgb(255, 0, 0);">"corner"</span><br /><br />style=<span style="color: rgb(255, 0, 0);">"display: none"</span> /><br /></div><br /><br />CONTENT<br /><div class=<span style="color: rgb(255, 0, 0);">"roundbottom"</span>><br /><img src=<span style="color: rgb(255, 0, 0);">"bl.gif"</span> alt=<span style="color: rgb(255, 0, 0);">""</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span>=<span style="color: rgb(255, 0, 0);">"15"</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>=<span style="color: rgb(255, 0, 0);">"15"</span> class=<span style="color: rgb(255, 0, 0);">"corner"</span><br />style=<span style="color: rgb(255, 0, 0);">"display: none"</span> /><br /></div><br /><br /></div><br /><br /><span style="color: rgb(102, 102, 255);">.roundcont</span> <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span>: <span style="color: rgb(153, 51, 51);">250px</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background-color</span>: <span style="color: rgb(204, 0, 204);">#f90</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">color</span>: <span style="color: rgb(204, 0, 204);">#fff</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.roundcont</span> p <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">margin</span>: <span style="color: rgb(153, 51, 51);">0</span> <span style="color: rgb(153, 51, 51);">10px</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.roundtop</span> <span style="color: rgb(102, 204, 102);">{</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background</span>: <span style="color: rgb(153, 51, 51);">url</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(153, 51, 51);">tr<span style="color: rgb(102, 102, 255);">.gif</span></span><span style="color: rgb(102, 204, 102);">)</span> <span style="color: rgb(153, 51, 51);">no-repeat</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">top</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">right</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.roundbottom</span> <span style="color: rgb(102, 204, 102);">{</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background</span>: <span style="color: rgb(153, 51, 51);">url</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(153, 51, 51);">br<span style="color: rgb(102, 102, 255);">.gif</span></span><span style="color: rgb(102, 204, 102);">)</span> <span style="color: rgb(153, 51, 51);">no-repeat</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">top</span> <span style="color: rgb(0, 0, 0); font-weight: bold;">right</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br />img<span style="color: rgb(102, 102, 255);">.corner</span> <span style="color: rgb(102, 204, 102);">{</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span>: <span style="color: rgb(153, 51, 51);">15px</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>: <span style="color: rgb(153, 51, 51);">15px</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">border</span>: <span style="color: rgb(153, 51, 51);">none</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">display</span>: <span style="color: rgb(153, 51, 51);">block</span> !important;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><p><img class="mainslika" alt="Rounded corners with images" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7SwH4hcSRc2Bw48Kky-JklL4424Ugzt8m_mNd-CHfpHgGE3Go2ipT_5iulYpGgVl3JwQLmTpzU7abM_bqGp1QMJEUNPyu-rCOdQbqQvzCvmUdPKDAlDPCoEc0GFEvvOxHH8XSu3VByxQ/" /></p><h5>8. Multiple class name<br /></h5><div class="code"><img src=<span style="color: rgb(255, 0, 0);">"image.gif"</span> class=<span style="color: rgb(255, 0, 0);">"class1 class2"</span> alt=<span style="color: rgb(255, 0, 0);">""</span> /><br /><br /><span style="color: rgb(102, 102, 255);">.class1</span> <span style="color: rgb(102, 204, 102);">{</span> border<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">2px</span></span> <span style="color: rgb(153, 51, 51);">solid</span> <span style="color: rgb(204, 0, 204);">#<span style="color: rgb(153, 51, 51);">666</span></span>; <span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.class2</span> <span style="color: rgb(102, 204, 102);">{</span><br /><br />padding<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">2px</span></span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background</span>:<span style="color: rgb(204, 0, 204);">#ff0</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><h5>9. Center horizontally<br /></h5><div class="code"><div id=<span style="color: rgb(255, 0, 0);">"container"</span>></div><br /><br /><span style="color: rgb(204, 0, 204);">#container</span> <span style="color: rgb(102, 204, 102);">{</span><br />margin<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0px</span></span> <span style="color: rgb(153, 51, 51);">auto</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><p><img class="mainslika" alt="Center horizontally" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP3db39rCFu5hKgglxhAguSCqlKWkwFA1iPt9XvE4U64Asb9AklMwvn8_S5QVdag_9v-DlIet-c9cFtTzp8Qba8fnM9yVVADP7CFNpInRjZLiAE3m31DnJBWhFLpUauPFtwibca-6H_zc/" /></p><h5>10. CSS Drop Caps</h5><div class="code"><p class=<span style="color: rgb(255, 0, 0);">"introduction"</span>><br />This paragraph has the class <span style="color: rgb(255, 0, 0);">"introduction"</span>.<br />If your browser supports the pseudo-class <span style="color: rgb(255, 0, 0);"><br />"first-letter"</span>, the first letter will be<br />a drop-cap.<br /><br />p<span style="color: rgb(102, 102, 255);">.introduction</span><span style="color: rgb(51, 51, 255);">:first-letter</span> <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">font-size</span> : <span style="color: rgb(153, 51, 51);"><span style="color: rgb(153, 51, 51);">300</span>%</span>;<br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">font-weight</span> : <span style="color: rgb(153, 51, 51);">bold</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">float</span> : <span style="color: rgb(0, 0, 0); font-weight: bold;">left</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">width</span> : <span style="color: rgb(153, 51, 51);">1em</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><p><img class="mainslika" alt="CSS Drop Caps" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj821qD7-K95k9PDyl_N68THNbazx4KKbtpEBgJvvUCPIY-hac3wvh5me-4igBML-ZUK3X_izBtXQy4W4b3zwALjnZ2LPSVzMrk7OmrQ_rgsG0fN-gtlsUz30WkraR9fJ8NJ3H7KOFpRs4/" /></p><h5>11. Prevent line breaks in links, oversized content to brake<br /></h5><div class="code">a<span style="color: rgb(102, 204, 102);">{</span><br />white-space<span style="color: rgb(51, 51, 255);">:nowrap</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(204, 0, 204);">#main</span><span style="color: rgb(102, 204, 102);">{</span><br />overflow<span style="color: rgb(51, 51, 255);">:hidden</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><h5>12. Show firefox scrollbar, remove textarea scrollbar in IE<br /></h5><div class="code">html<span style="color: rgb(102, 204, 102);">{</span><br />overflow<span style="color: rgb(51, 51, 255);">:-moz-scrollbars-vertical</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br />textarea<span style="color: rgb(102, 204, 102);">{</span><br />overflow<span style="color: rgb(51, 51, 255);">:auto</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div></span>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com0tag:blogger.com,1999:blog-3997925800934703931.post-60088947047702729312009-03-23T22:07:00.000-07:002009-07-16T05:47:26.881-07:00Most best css hacks<p>If you are front end coder you must know how important is to make cross browses, valid CSS and xHTML code. And also you must know how much time we are spending in all those hacks and fixes for various browsers.</p><span class="fullpost"><p>Here is the list picked CSS hacks and tricks which can help you in your CSS code and also save some time.</p><h5>Min-Height</h5><div class="code">selector <span style="color: rgb(102, 204, 102);">{</span><br />min-height<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">500px</span></span>;<br />height<span style="color: rgb(51, 51, 255);">:auto</span>; !important<br />height<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">500px</span></span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><h5>autoclear<br /></h5><div class="code"><span style="color: rgb(102, 102, 255);">.container</span><span style="color: rgb(51, 51, 255);">:after</span> <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">content</span>: <span style="color: rgb(255, 0, 0);">"."</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">display</span>: <span style="color: rgb(153, 51, 51);">block</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>: <span style="color: rgb(153, 51, 51);">0</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">clear</span>: <span style="color: rgb(153, 51, 51);">both</span>;<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">visibility</span>: <span style="color: rgb(153, 51, 51);">hidden</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(102, 102, 255);">.container</span> <span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">display</span>: <span style="color: rgb(153, 51, 51);">inline-table</span>;<span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/* Hides from IE-mac \*/</span><br />* html <span style="color: rgb(102, 102, 255);">.container</span> <span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">height</span>: <span style="color: rgb(153, 51, 51);"><span style="color: rgb(153, 51, 51);">1</span>%</span>;<span style="color: rgb(102, 204, 102);">}</span><br /><br /><span style="color: rgb(102, 102, 255);">.container</span> <span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(0, 0, 0); font-weight: bold;">display</span>: <span style="color: rgb(153, 51, 51);">block</span>;<span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/* End hide from IE-mac */</span><br /></div><h5>Reset CSS</h5><div class="code">html, body, div, span, applet, object, iframe,<br />h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr,<br />acronym, address, big, cite, code, del, dfn, em,<br /><span style="color: rgb(0, 0, 0); font-weight: bold;">font</span>, img, ins, kbd, q, s, samp, small, strike, strong,<br />sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset,<br />form, label, legend, table, caption, tbody, tfoot,<br />thead, tr, th, td <span style="color: rgb(102, 204, 102);">{</span><br /><br />border<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0pt</span></span> <span style="color: rgb(153, 51, 51);">none</span>;<br />font-family<span style="color: rgb(51, 51, 255);">:inherit</span>;<br />font-size<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">100</span></span>%;<br />font-style<span style="color: rgb(51, 51, 255);">:inherit</span>;<br />font-weight<span style="color: rgb(51, 51, 255);">:inherit</span>;<br />margin<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0pt</span></span>;<br />outline-color<span style="color: rgb(51, 51, 255);">:invert</span>;<br />outline-style<span style="color: rgb(51, 51, 255);">:none</span>;<br />outline-width<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0pt</span></span>;<br />padding<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0pt</span></span>;<br />vertical-align<span style="color: rgb(51, 51, 255);">:baseline</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br />table <span style="color: rgb(102, 204, 102);">{</span><br />border-collapse<span style="color: rgb(51, 51, 255);">:separate</span>;<br />border-spacing<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0pt</span></span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br />caption, th, td <span style="color: rgb(102, 204, 102);">{</span><br /><br />font-weight<span style="color: rgb(51, 51, 255);">:normal</span>;<br />text-align<span style="color: rgb(51, 51, 255);">:left</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br />blockquote<span style="color: rgb(51, 51, 255);">:before</span>, blockquote<span style="color: rgb(51, 51, 255);">:after</span>, q<span style="color: rgb(51, 51, 255);">:before</span>, q<span style="color: rgb(51, 51, 255);">:after</span> <span style="color: rgb(102, 204, 102);">{</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">content</span>:<span style="color: rgb(255, 0, 0);">""</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br />blockquote, q <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">quotes</span>:<span style="color: rgb(255, 0, 0);">""</span> <span style="color: rgb(255, 0, 0);">""</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br />strong <span style="color: rgb(102, 204, 102);">{</span><br />font-weight<span style="color: rgb(51, 51, 255);">:bold</span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br />em <span style="color: rgb(102, 204, 102);">{</span><br />font-style<span style="color: rgb(51, 51, 255);">:italic</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br />* <span style="color: rgb(102, 204, 102);">{</span><br />margin<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0pt</span></span>;<br />padding<span style="color: rgb(51, 51, 255);">:<span style="color: rgb(153, 51, 51);">0pt</span></span>;<br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><h5>Scrolling Render IE<br /></h5><div class="code">html <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">background</span> : <span style="color: rgb(153, 51, 51);">url</span><span style="color: rgb(102, 204, 102);">(</span><span style="color: rgb(153, 51, 51);">null</span><span style="color: rgb(102, 204, 102);">)</span> <span style="color: rgb(153, 51, 51);">fixed</span> <span style="color: rgb(153, 51, 51);">no-repeat</span>;<br /><br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><h5>Opacity</h5><div class="code"><span style="color: rgb(204, 0, 204);">#transdiv</span> <span style="color: rgb(102, 204, 102);">{</span><br />filter<span style="color: rgb(51, 51, 255);">:alpha</span><span style="color: rgb(102, 204, 102);">(</span>opacity=<span style="color: rgb(153, 51, 51);">75</span><span style="color: rgb(102, 204, 102);">)</span>;<br />-moz-opacity:<span style="color: rgb(102, 102, 255);">.<span style="color: rgb(153, 51, 51);">75</span></span>;<br />opacity:<span style="color: rgb(102, 102, 255);">.<span style="color: rgb(153, 51, 51);">75</span></span>;<span style="color: rgb(102, 204, 102);">}</span><br /></div><h5>PRE Tag</h5><div class="code">pre <span style="color: rgb(102, 204, 102);">{</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">white-space</span>: pre-wrap; <span style="color: rgb(128, 128, 128); font-style: italic;">/* css-3 */</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">white-space</span>: -moz-pre-wrap !important; <span style="color: rgb(128, 128, 128); font-style: italic;">/* Mozilla, since 1999 */</span><br /><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">white-space</span>: -pre-wrap; <span style="color: rgb(128, 128, 128); font-style: italic;">/* Opera 4-6 */</span><br /><span style="color: rgb(0, 0, 0); font-weight: bold;">white-space</span>: -o-pre-wrap; <span style="color: rgb(128, 128, 128); font-style: italic;">/* Opera 7 */</span><br />word-wrap: break-word; <span style="color: rgb(128, 128, 128); font-style: italic;">/* Internet Explorer 5.5+ */</span><br /><span style="color: rgb(102, 204, 102);">}</span><br /></div><h5>Li Background Repeat IE</h5><div class="code"><!--<span style="color: rgb(102, 204, 102);">[</span>if lt IE <span style="color: rgb(153, 51, 51);">7</span><span style="color: rgb(102, 204, 102);">]</span>><br /><style><br /><span style="color: rgb(204, 0, 204);">#leftnav</span> li <span style="color: rgb(102, 204, 102);">{</span> zoom: <span style="color: rgb(153, 51, 51);">1</span>;<span style="color: rgb(102, 204, 102);">}</span> <span style="color: rgb(128, 128, 128); font-style: italic;">/* haslayout=true */</span><br /><br /></style><br /><br /><!<span style="color: rgb(102, 204, 102);">[</span>endif<span style="color: rgb(102, 204, 102);">]</span>--><br /></div><h5>Good to know</h5><div class="code"><span style="color: rgb(161, 161, 0);">@charset "UTF-8";</span><br /><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/* ---------------------------<br />WinIE7<br />------------------------------ */</span><br /><br />*<span style="color: rgb(51, 51, 255);">:first-child</span>+html selector<span style="color: rgb(102, 204, 102);">{</span>property<span style="color: rgb(51, 51, 255);">:value</span>;<span style="color: rgb(102, 204, 102);">}</span><br /><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/* ---------------------------<br />WinIE6 & Mac IE<br />------------------------------ */</span><br />* html selector<span style="color: rgb(102, 204, 102);">{</span>property<span style="color: rgb(51, 51, 255);">:value</span>;<span style="color: rgb(102, 204, 102);">}</span><br /><br /><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/* ---------------------------<br />WinIE6<br />------------------------------ */</span><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/*\*/</span><br />* html selector<span style="color: rgb(102, 204, 102);">{</span>property<span style="color: rgb(51, 51, 255);">:value</span>;<span style="color: rgb(102, 204, 102);">}</span><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/**/</span><br /><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/* ---------------------------<br />MacIE<br />------------------------------ */</span><br /><br /><span style="color: rgb(128, 128, 128); font-style: italic;">/*\*/</span><span style="color: rgb(128, 128, 128); font-style: italic;">/*/<br />selector{property:value;}<br />/**/</span><br /></div><br /></span>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com0tag:blogger.com,1999:blog-3997925800934703931.post-13538775345746522772009-03-23T22:00:00.000-07:002009-07-16T05:47:52.868-07:00SEO basics<p><strong>Search engine optimization (SEO)</strong> is the process of improving the volume and quality of traffic to a web site from search engines via "natural" ("organic" or "algorithmic") search results for targeted keywords. In this article find out how to do basic SEO, code search engine friendly pages and how to do a basic promotion of your site.</p><span class="fullpost"><p>For this I will use one of sites I've made, it is AdSense site and it follows SEO rules and it is good example what to do and what not to do. This site is <a href="http://www.aboutdoghealth.org/" target="_blank">http://www.aboutdoghealth.org/</a> so let's start from the top.</p><h5>Things to do<br /></h5><ul><li><strong>Keywords in URL</strong><br />For example <a href="http://www.aboutdoghealth.org/" target="_blank">http://www.aboutdoghealth.org/</a> use whole words – keywords to best describe your site. Don't rely on this if you don't have keywords in other parts of your site.</li><li><strong>Keywords in <title> tag</strong><br />This shows search results as your page title, so this is one of the most important things and it shouldn't be long 5-6 words max, and use keyword at the beginning.</li><li><strong>Keywords in anchor texts</strong><br />Also very important, especially for the anchor text, because if you have the keyword in the anchor text in a link from another site, this is regarded as getting a vote from this site not only about your site in general, but about the keyword in particular.</li><li><strong>Keywords in headings (<H1>, <H2>, etc. tags)</strong><br />One more place where keywords count a lot. But beware that your page has actual text about the particular keyword.</li><li><strong>Keywords in the beginning of a document</strong><br />While coding your page <em>put your main content before side bar</em>. Because this also counts, though not as much as anchor text, title tag or headings</li><li><strong>Keywords in <alt> tags</strong><br />Spiders don't read images but they do read their textual descriptions in the <alt> tag, so if you have images on your page, fill in the <alt> tag with some keywords about them.</li><li><strong>Anchor text of inbound links</strong><br />This is one of the most important factors for good rankings. It is best if you have a keyword in the anchor text but even if you don't, it is still OK.</li><li><strong>Origin of inbound links</strong><br />It is important if the site that links to you is a reputable one or not. Generally sites with greater Google PR are considered reputable and <em>the .edu and .gov sites are the most reputable</em></li><li><strong>Links from similar sites</strong><br />Having links from similar sites is very, very useful. It indicates that the competition is voting for you and you are popular within your topical community.</li><li><strong>Metatags</strong><br />Metatags are becoming less and less important but if there are metatags that still matter, these are the <description> and <keywords> ones.</li><li><strong>Unique content</strong><br />Having more content (relevant content, which is different from the content on other sites both in wording and topics) is a real boost for your site's rankings.</li><li><strong>Frequency of content change</strong><br />Frequent changes are favored. It is great when you constantly add new content but it is not so great when you only make small updates to existing content.</li><li><strong>Site Accessibility</strong><br />Another fundamental issue, which that is often neglected. If the site (or separate pages) is unaccessible because of broken links, 404 errors, password-protected areas and other similar reasons, then the site simply can't be indexed.</li><li><strong>Sitemap</strong><br />It is great to have a complete and up-to-date sitemap, spiders love it, no matter if it is a plain old HTML sitemap or the special Google sitemap format.</li></ul><h5>Things <em>not</em> to do</h5><ul><li><strong>Keyword stuffing</strong><br />Any artificially inflated keyword density (10% and over) is keyword stuffing and you risk getting banned from search engines.</li><li><strong>Keyword dilution</strong><br />When you are optimizing for an excessive amount of keywords, especially unrelated ones, this will affect the performance of all your keywords and even the major ones will be lost (diluted) in the text.</li><li><strong>Single pixel links</strong><br />when you have a link that is a pixel or so wide it is invisible for humans, so nobody will click on it and it is obvious that this link is an attempt to manipulate search engines.</li><li><strong>Cross-linking</strong><br />Crosslinking occurs when site A links to site B, site B links to site C and site C links back to site A</li><li><strong>Duplicate content</strong><br />When you have the same content on several pages on the site, this will not make your site look larger because the duplicate content penalty kicks in. To a lesser degree duplicate content applies to pages that reside on other sites but obviously these cases are not always banned</li><li><strong>Doorway pages</strong><br />Creating pages that aim to trick spiders that your site is a highly-relevant one when it is not, is another way to get the kick from search engines.</li><li><strong>Cloaking</strong><br />Cloaking is another illegal technique, which partially involves content separation because spiders see one page (highly-optimized, of course), and everybody else is presented with another version of the same page.</li><li><strong>Invisible text</strong><br />This is a black hat SEO practice and when spiders discover that you have text specially for them but not for humans, don't be surprised by the penalty.</li><li><strong>Illegal Content</strong><br />Using other people's copyrighted content without their permission or using content that promotes legal violations can get you kicked out of search engines.</li><li><strong>Flash</strong><br />Spiders don't index the content of Flash movies, so if you use Flash on your site, don't forget to give it an alternative textual description. And also <em>don't have just flash home page without HTML one</em>.</li><li><strong>Frames</strong><br />Frames are very bad for SEO. Avoid using them unless really necessary.</li><li><strong>Redirects (301 and 302)</strong><br />When not applied properly, redirects can hurt a lot - the target page might not open, or worse - a redirect can be regarded as a black hat technique, when the visitor is immediately taken to a different page.</li><li><strong>Bans in robots.txt</strong><br />If indexing of a considerable portion of the site is banned, this is likely to affect the nonbanned part as well because spiders will come less frequently to a "noindex" site.</li><li><strong>Session IDs</strong><br />This is even worse than dynamic URLs. Don't use session IDs for information that you'd like to be indexed by spiders.</li></ul><h5>Submit your site<br /></h5><ul><li>To Google<br /><a href="http://www.google.com/addurl/" target="_blank">http://www.google.com/addurl/</a></li><li>To Yahoo!<br /><a href="http://search.yahoo.com/info/submit.html" target="_blank">http://search.yahoo.com/info/submit.html</a></li><li>To MSN<br /><a href="http://search.msn.com.sg/docs/submit.aspx" target="_blank">http://search.msn.com.sg/docs/submit.aspx</a></li><li>To FastSubmit<br /><a href="http://www.evrsoft.com/fastsubmit/" target="_blank">http://www.evrsoft.com/fastsubmit/</a></li><li>To SubmitExpress<br /><a href="http://www.submitexpress.com/submit.html" target="_blank">http://www.submitexpress.com/submit.html</a></li><li>To dmoz<br /><a href="http://www.dmoz.org/Computers/Internet/On_the_Web/Message_Boards/" target="_blank">http://www.dmoz.org/Computers/Internet/On_the_Web/Message_Boards/</a></li><br /></ul></span>blogupielhttp://www.blogger.com/profile/11092699305350298511noreply@blogger.com0