HTML 5 → Ambilight for the <video> tag

  • 10 March 2010, 03:40
  • Chikuyonok
  • Add a comment


Some high-end Philips TV sets have a cool feature, Ambilight. Basically, it is LED lighting that changes its color dynamically, depending on the television picture's color. It is such a pleasure to watch movies on an Ambilight-enabled TV!

There are some implementations of such lighting in Adobe Flash. Why can't we, web masters, do the same thing using scripts? It was another opportunity for me to check out what state-of-the-art web browsers can do, so I've made the following thing:

( Read more )

CSS → To Copy or Not to Copy: The content CSS Property

  • +8
  • 10 February 2010, 07:42
  • Chikuyonok
  • Add a comment


I've decided to use a trendy CSS property, content, for my web project, to make webpages more "lightweight" and to improve the flexibility of tuning their appearance. As the project was only intended for web developers, I didn't need to bother about supporting outdated browsers (IE 6 and 7). Alas, I was greatly disillusioned in that CSS property: though everything was displayed correctly, the end user's experience was far from perfect.

( Read more )

CSS → Uniform Text Background

  • +8
  • 5 February 2010, 17:21
  • Chikuyonok
  • Read comments: 1+1
In the last years, it has been trendy to use contrast background in the headings. For example, it looks like this:



Though the task looks pretty simple, it is not: if you think that all you need is to add some padding, that doesn't work because the indent is added only in the beginning and in the end of the text, and the text wrap is ignored.

( Read more )

CSS → Layout of Stretchy Websites

  • +6
  • 9 January 2010, 16:43
  • Chikuyonok
  • Add a comment


In this article I will share with you a technique for laying out stretchy websites (actually, I have found out that I cannot make non-stretchy ones), which I've been using for the last 2-3 years. This technique, which can be used for creating sophisticated modular grids, is easy to use but somewhat difficult to understand, and it does have some drawbacks. Basically, this article might be useful for web designers too, as website layout should be correctly designed before actual coding is done.

( Read more )

CSS → Zen coding — make HTML/CSS faster

  • +3
  • 23 November 2009, 09:33
  • Chikuyonok
  • Add a comment


Make HTML/CSS faster with Zen coding

( Read more )

Tools → Making tabs with <dl>

  • +6
  • 4 November 2009, 07:28
  • Chikuyonok
  • Add a comment


Once I needed to make tabs on the webpage. As it's a rather routine problem, I didn't want to reinvent the wheel, so I just googled a little bit to see how people solve it. All the solutions I found looked rather run of the mill, something like that:

( Read more )