Posts

Showing posts with the label web

Convert between points, pixels, ems and percents

Image
Ok, sometimes you get an *.ai file to convert it to the HTML and there the fonts are set to the points, but you rather would use pixels. Or what ever is the reason, so I will kindly give you a list of points, pixels, ems and percents so you can convert between them. NB this is an approximation but quiet a good one. Points Pixels Ems Percent 6pt 8px 0.5em 50% 7pt 9px 0.55em 55% 7.5pt 10px 0.625em 62.5% 8pt 11px 0.7em 70% 9pt 12px 0.75em 75% 10pt 13px 0.8em 80% 10.5pt 14px 0.875em 87.5% 11pt 15px 0.95em 95% 12pt 16px 1em 100% 13pt 17px 1.05em 105% 13.5pt 18px 1.125em 112.5% 14pt 19px 1....

Apollo new portal quick review

Image
I had this wonderfull chance to test www.apollo.lv upcomming portal version. In this quick review I’ll start with some imperfections, and finish with some good words afterwards. Probably the most notable and most visible drawback is that portal design lacks flexibility. I really like some competitor portals, mainly because their designs are fluid and takes advantage of higher screen resolutions. This is how new portal design looks at Full High Definition resolution. The code is not W3C valid. Although this is not extremely important, it usually shows, that coder cares about the code he writes, and is able to follow standards. I’ve tested portal loading performance for several times, and average complete site loading time was 10.5 seconds. So that could be faster. Latter site surfing performance is greatly improved when all of the files are loaded into browser cache, but still there are things to improve. One thing is that all JavaScript files that are loaded from one domain should ...

What does http-equiv stands for?

Many web developers uses meta http-equiv tag, without solid understanding what does it means. http-equiv stands for: hypertext transfer protocol equivalent and is equivalent to HTTP response header. So putting: <http-equiv="content-type" content="text/html; charset=UTF-8"> <META http-equiv="content-type" content="text/html; charset=UTF-8"> in HTML as meta TAG has the same effect as declaring HTTP response header Content-Type: text/html; charset=utf-8 That is why they are called ‘equivalent’. It is recommended to use HTTP header over HTML http-equiv meta tags. Multiple headers with the same name may be present only if the values may be concatenated.

Tutorial. How to upload cat picture. Fun version.

In this tutorial, i will show you how to upload cat picture on any Pixaria image gallery. To do this I use tool called "Pixaria Gallery 2.3.5 Remote File Disclosure" which can be downloaded from wonderfull tool site called securityfocus.com. Here is finished example. Take a look .

Google webmaster and other Google product interface language

Image
There is something that is driving me nuts about Google webmaster? It's that i can not change the interface language to English. No really, I’ve tried like a zillion times, but somehow I just can’t figure it out. In Google products I always set English as my default language. I’ve even set that I live in U.K. so that Google do not dare to offer me Latvian. But somehow webmaster is different. It knows me. It knows me deep inside. It even scares me ;D. The reason why I prefer English over Latvian is pretty simple though – when the specific words are being translated into Latvian, in most cases text become unreadable, and I constantly need to think – now what's that word would be in English. Some examples include: Noildze – delay; Rādītājs - index; Iesūtne - inbox; Rāpuļprogramma - crawler; Not only words are confusing, but in many cases translation is ambiguous too. It can easily be seen, that translator did not take context into account. And today I was exceptionally upset, be...

Drupal first impressions

Image
As of 2009 Drupal is one of the leading opensource CMS on the web. Others worth mention would be Joomla and WordPress. There are two ways actually to create a Drupal based web page.   Easy way . No programming skills required. Download drupal from the drupal.org.  Extract contents onto your server public_html directory. Launch www.yourdomain.com/install.php and follow the instructions provided. After installation successfully completes: the following things can be performed - Adding a content to web site - Installing additional modules, wich can be downloaded from drupal module download page - Choose from existing themes from drupal theme page Advanced way At heart drupal contains a very a flexible module system. Module system not only provides scaleability, but also code reusability and structured manner into which the whole system is developed. And because developers share their modules, it really speeds up web site development. Because it's like code reusing among whole commun...