Posts

Showing posts with the label html

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.