Category Archives: Uncategorized

5 CSS Frameworks You Should be Using

Mar 28, 2015

CSS frameworks are fast becoming extremely popular starting points for a lot of developers. There are Five CSS frameworks. 1. PURE : Pure is a..

Read more

Web apps vs Native Mobile apps

Mar 27, 2015

Today’s hot topic in the internet industry and mostly spoken by everyone are web based applications and mobile applications. Let’s see how both differs from..

Read more

How To Fix Dreamweaver JavaScript Error?

Mar 25, 2015

Hope many of the developer may experience the problem in Dreamweaver when you save a file or undo etc you get an error screen Javascript..

Read more

Css-Border Radius Supported all Browsers

Mar 21, 2015

The border-radius property is a composite property that specifies up to four border radius properties for HTML elements and simplest of these method in css3..

Read more

BASIC THINGS TO AVOID VALIDATION ERRORS

Mar 16, 2015

W3c Markup validation service is validator.Validation as a debugging tool.It is very important tool because which enriched our quality of service by checking our markup..

Read more

Maintain image aspect ratio while resizing using

Mar 14, 2015

          What is image aspect ratio? The aspect ratio of an image describes the proportional relationship between its width and its height. It is commonly expressed as two numbers separated by a colon, as in 16:9.  For an x:y aspect ratio, no matter how big or small the image is, if the width is divided into x units of equal length and the height is measured using this same length unit, the height will be measured to be y units. Usually we need to resize the images for different pages in our website. But in most of the time, while resizing, the image lost its quality. Because of the image has an incorrect aspect ratio and appears stretched. Now we are going to see the simple solution for maintaining the image aspect ratio while resizing. Below is the java script function to calculate image aspect ratio. function GetImageRatio(SourceWidth, SourceHeight, MaxWidth, MaxHeight) { var ratio = Math.min(MaxWidth / SourceWidth, MaxHeight / SourceHeight); return {ratio:ratio, width: SourceWidth*ratio, height:..

Read more