Category Archives: HTML/CSS

calculate div position

After trying out loads of ways to find out the position of div in web page I found this be the best code function getPosition(obj){ var topValue= 0,leftValue= 0; while(obj){ leftValue+= obj.offsetLeft; topValue+= obj.offsetTop; obj= obj.offsetParent; } finalvalue = {‘left’: … Continue reading

Posted in Computers, HTML/CSS, Web Development | Tagged | Leave a comment

very nice article on color theory

Color in design is very subjective. What evokes one reaction in one person may evoke a very different reaction in somone else. Sometimes this is due to personal preference, and other times due to cultural background. Color theory is a … Continue reading

Posted in HTML/CSS | Tagged | Leave a comment

CSS Differences in Internet Explorer 6, 7 and 8

One of the most bizarre statistical facts in relation to browser use has to be the virtual widespread numbers that currently exist in the use of Internet Explorer versions 6, 7 and 8. As of this writing, Internet Explorer holds … Continue reading

Posted in HTML/CSS | Tagged | Leave a comment

Date Display Technique with Sprites

http://css-tricks.com/date-display-with-sprites/

Posted in Computers, HTML/CSS | Tagged | Leave a comment

Cufón – Another sIFR alternative for Font Embedding

Cufón is similar to Typeface.js which aims to become a worthy alternative to sIFR, and despite its merits still remains painfully tricky to set up and use. Cufón consists of two individual parts as well – a font generator, which … Continue reading

Posted in Computers, HTML/CSS, Web Development | Tagged | Leave a comment