Posts

Showing posts with the label css

Rendering HTML elements according to the system - I

I like things which look and feel like my OS. But I have rarely come across a site which looks and feels like an application running on my computer. Not like they are supposed to look like that but I have still been trying to figure out how they would look if the site could automatically change according to the user settings. In my quest to figure this one out, the first and the foremost thing to look at are the fonts. Most browsers have the magical property which allows you to get the font settings on the OS. This line should be in the menu font. This line should be in the caption font. On most browsers you should see the first line rendered with the font used in the menu 's and the second line rendered in the font used in the caption 's. Funny thing caption does not work in FireFox it works in Opera and IE. Getting down to the code its just a one line code. Just set the font property to menu or caption and thats all that you need to do. font: menu; font: caption; That is...

There is always so much to learn

After every few years I feel I know everything there is to know but along comes something new and my myth is shattered and I come back down to earth. In most cases its not even something new just something I've never bothered to look but something which actually changes my perception. Most of the times I work on multiple projects at a time and in the end the result seems to be zero. There is always that one thing that seems to hold back the complete project. Be it something small or something really big. But there is something bigger than these projects that I seem to get out of these personal projects and that thing is experience. I end up learning things that I normally think I know or seem too trivial to learn. This weekend I was working on CSS and trying to get a native look and feel on a web page. I searched all over the net. But in the end the whole information was sketchy at best. I ended up learning a lot and finally figured out how little I knew about the topic and how li...