Thursday, January 21, 2010

CSS Font Size Cheat sheet

Here is a chart that will help you find the conversion of pt,px,ems and %. The chart is good for an approximation, font size can change based on font, and operating system.

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.2em
120%
14.5pt
20px
1.25em
125%
15pt
21px
1.3em
130%
16pt
22px
1.4em
140%
17pt
23px
1.45em
145%
18pt
24px
1.5em
150%
20pt
26px
1.6em
160%
22pt
29px
1.8em
180%
24pt
32px
2em
200%
26pt
35px
2.2em
220%
27pt
36px
2.25em
225%
28pt
37px
2.3em
230%
29pt
38px
2.35em
235%
30pt
40px
2.45em
245%
32pt
42px
2.55em
255%
34pt
45px
2.75em
275%
36pt
48px
3em
300%


For those of you who are still using pixels, it’s about time you made the switch to ems or points.  It allows users who have a hard time reading small type to enlarge the font.  Here is a little trick that will help you so you don’t have to remember the chart above.
1
body { font-size: 62.5% }

The Best Icon Sets for Minimal Style Web Design

Mono Icons

icons

Pictodeck

icons

The Webdesigner Sketchup Icons

icons

Free Vector Icons

icons

Pictoico

icons

Token

icons

Glyphish (130 Icons)

icons

BrightMix

icons

BrightMix

icons

Pixelated

icons

Two Tone Icons

icons

Mini Icons

icons

BackToPixel

icons

Iconic

icons

Kostenlose Icons

icons
Here's some other articles that you will definitely find useful.

200+ Big and Beautiful Highly Detailed Icons


A UI Design and Prototyping Treasure Chest


The Best Free Icon Sets of 2009


The Best Vector Icon Sets All In One Place


All the Small Icons You’ll Ever Need

15 jquery plugins to fix Browser issues

We advocate using CSS whenever possible, and we often successed. Modern browsers have very good support for CSS — it’s certainly good enough for you to use CSS to control layout and presentation. Sometimes however, certain page elements will appear differently in different browsers. That’s why today we wanted to highlight 15 jQuery solutions for the most common browser issues that you’ll encounter when building web applications among other jQuery plugins that will give you a nice browser effect.

1. Achieving Rounded Corners in Internet Explorer with DD_roundies

Using jQuery to Fix 20 Common Browser Issues
Unfortunately, CSS3 border-radius is only supported by Safari and Firefox, leaving browsers such as Internet Explorer to gracefully degrade to square corners. DD_roundies library offers a new approach to bringing rounded corners to Internet Explorer. DD_roundies works with selectors – much like jQuery – this capability allows for a very convenient mapping to jQuery UI’s CSS Framework classes, and allows us to apply DD_roundies to jQuery UI in a few short lines.
Check out the Demo here

2. Setting Equal Heights with jQuery

Using jQuery to Fix 20 Common Browser Issues
Creating the visual effect of equal-height columns or content boxes has been a challenge. From a usability and performance standpoint, one smart solution is to use a simple JavaScript workaround: our equalHeights() function determines the heights of all sibling elements in a container, and then sets each element’s minimum height to that of the tallest element. When JavaScript is disabled, the boxes or columns appear with varying heights, but the content remains legible and the page is still completely usable.
Check out the Demo here

3. Cross browser text-shadow

Using jQuery to Fix 20 Common Browser Issues
Text-shadow is a neat little CSS3 (actually, CSS2) property that allows you to display a shadow behind your text. The only downfall is that it doesn’t work in Internet Explorer. One handy little thing of Internet Explorer is that it also gives you access to CSS declarations it does not understand, so we can simply request the text-shadow value of a given element and process that. This should work in Internet Explorer 5.5 to Internet Explorer 8.
Check out the Demo here

4. Rounded Corners

Using jQuery to Fix 20 Common Browser Issues
This jQuery plugin will create beautifully rounded corners. No images or obtrusive markup necessary. Support for padding ensures your layout degrades gracefully for users who have disabled javascript.

5. Position Footer

Using jQuery to Fix 20 Common Browser Issues
This little plugin will allow you to position a footer at the bottom of the browser viewport when the content doesn’t reach that far. It will not adjust the footer if the content goes below the viewport height.
Check out the Demo here

6. Link Control

Using jQuery to Fix 20 Common Browser Issues
A simple plugin designed to give the end user control over whether they want to open a link in a new window or not without having to right click and such.
Check out the Demo here

7. Page Peel

Using jQuery to Fix 20 Common Browser Issues
A jQuery plugin for the page peel ad effect used on quite a few sites now.
Check out the Demo here

8. Delaying loading of images in (long) web pages

Using jQuery to Fix 20 Common Browser Issues
Lazy loader is a jQuery plugin that delays loading of images in (long) web pages. Images outside of viewport (visible part of web page) wont be loaded before user scrolls to them. This plugin specially helps on long web pages containing many large images makes the page load faster. Browser will be in ready state after loading visible images. In some cases it can also help to reduce server load.
Check out the Demo here

9. Preload Images Sequentially With jQuery

This is a small code snippet you can use for preloading images for mouseovers. It uses $(window).bind(‘load’, function() {…}) to wait until all page elements have finished loading. This includes all images.

10. BGIframe

Using jQuery to Fix 20 Common Browser Issues
Helps ease the pain when having to deal with IE z-index issues.

11. Fixing IE overflow problem

Using jQuery to Fix 20 Common Browser Issues
IE has a different implementation of overflow compa(red) to Firefox or Safari. In particular, Firefox et al, when overflowing an element, it puts the horizontal overflow scroll bar on the outside of the element. Because the content overflows horizontally in IE, the new horizontal scroll bar means we can’t see all the content vertically, thus generating a vertical scroll bar.
Vertical overflow is always inside the element, so you need to apply the following in IE only:
  • Find all elements whose contents is overflowing horizontally.
  • Add 20 pixels of padding to the bottom of our element.
  • Strip the vertical scroll bar.
  1. (function ($) {  
  2.   $.fn.fixOverflow = function () {  
  3.     if ($.browser.msie) {  
  4.       return this.each(function () {  
  5.         if (this.scrollWidth > this.offsetWidth) {  
  6.           $(this).css({ 'padding-bottom' : '20px''overflow-y' : 'hidden' });  
  7.         }  
  8.       });  
  9.     } else {  
  10.       return this;  
  11.     }  
  12.   };  
  13. })(jQuery);  
  14.   
  15. // usage  
  16. $('pre').fixOverflow().doOtherPlugin();  
This fix results in IE conforming to putting the horizontal scroll bar below the element.
Check out the Demo here

12. Avoiding CSS hacks using Javascript

Using jQuery to Fix 20 Common Browser Issues
If you don’t have to code those ugly CSS hacks for those browsers that just won’t show you what you want them to, you can use one trick to ease the CSS writing: “Browser selectors”. So now you can preprend your styles with .msie, .mozilla, .opera, .safari or .other depending on the targeted browser.
Check out the Demo here

13. Increase the size of click targets

Using jQuery to Fix 20 Common Browser Issues
Say goodbye to boring ‘Read More…’ links by turning your entire content block into a clickable target!
Check out the Demo here

14. Vertically Center An Element

Using jQuery to Fix 20 Common Browser Issues
In this video tutorial, you will learn how you can vertically center an image in your browser by combining CSS with jQuery’s power

15. JSizes ― jQuery extension plugin for CSS properties

JSizes is a small plugin which adds support for querying and setting the CSS min-width, min-height, max-width, max-height, border-*-width, margin, and padding properties. Additionally it has one method for determining whether an element is visible. In total it adds six new methods to the jQuery element API.
Some examples of how the new methods can be used:
  1. jQuery(function($) {  
  2.    var myDiv = $('#myDiv');  
  3.   
  4.    // set margin-top to 100px and margin-bottom to 10em  
  5.    myDiv.margin({top: 100, bottom: '10em'});  
  6.   
  7.    // displays the size of the top border in pixels  
  8.    alert(myDiv.border().top);  
  9.   
  10.    // displays true if the element is visible, false otherwise  
  11.    alert(myDiv.isVisible());  
  12.   
  13.    // set padding-right to 10px and margin-left to 15px using chaining  
  14.    myDiv.padding({right: 10}).margin({left: 15});  
  15. }); 

Tuesday, January 19, 2010

Useful Photoshop Actions

In creating or editing images, we often want to alter the original picture or image to put our own personal touch. Through the use of Photoshop, we are given tools to do this. It’s just a matter of using the exact command and manipulating these tools to create your desired output.
Action is one of the tools that you can use in Photoshop to come up with a creative design. It is the process of putting into action a series of commands including file menu and tools action. Like brushes, actions are also plugins that you can use to put several and different effects to an image in just a few clicks. For this post, We have collected 35+ Free Photoshop Action to Improve your Photos and can also be use with your design. Feel free to check them out.

Sa-Cool Action 1.06

Free Photoshop Action
By : Sa-cool

Soft Touch Action

Free Photoshop Action
By : Chulii-stock

Photoshop Actions-76

Free Photoshop Action
By : Night-fate

Actions Clyck

Free Photoshop Action
By : Muffim-clyck

Action

Free Photoshop Action
By : Ver00nika

Photoshop Action 2

Free Photoshop Action
By : Saturn-rings

Weeding Enhancers Kit

Free Photoshop Action
By : Finesse FX

Amatorka Action 2

Free Photoshop Action
By : Amatorka

Photoshop Action 03

Free Photoshop Action
By : xxKiriku

Photoshop Actions-74

Free Photoshop Action
By : Night-Fate

Oscar Pilch Photoshop Action 1

Free Photoshop Action
By : Wizzy

Photoshop Action: Coffee

Free Photoshop Action
By : Davidnanchin

Photoshop Action Set 4

Free Photoshop Action
By : Lover4art

Photoshop Action 21

Free Photoshop Action
By : Miss-etikate

Photoshop Action 5

Free Photoshop Action
By : Wizzy-resources

Photoshop Action-Bright Eyes

Free Photoshop Action
By : Itsreality

Photoshop Actions-95

Free Photoshop Action
By : Night-fate

Photoshop Action 18

Free Photoshop Action
By : Saturn-rings

Photoshop Action-Color 024

Free Photoshop Action
By : Primaluce

Photoshop Action 18

Free Photoshop Action
By : Miss-etikate

Photoshop Action 06

Free Photoshop Action
By : xxkiriku

Photoshop Action 07

Free Photoshop Action
By : xxkiriku

Fallen Action

Free Photoshop Action
By : Sd-stock

Photoshop Action

Free Photoshop Action
By : YSR1

Photoshop Action 10

Free Photoshop Action
By : Wizzy-resources

Photoshop Action: Regressive N

Free Photoshop Action
By : Davidnanchin

Sharp Action- Photoshop Action

Free Photoshop Action
By : TeoAtienza

Action Set 1

Free Photoshop Action
By : ImaginaryRosse

Lovely Action

Free Photoshop Action
By : Orangetopatos

Actions: “Retro-Vintage”

Free Photoshop Action
By : Rocketlaunch

Black White Sepia PS Action

Free Photoshop Action
By : Rosalindharrison

Photo Coloring 11.2

Free Photoshop Action
By : Iconmaker91

Noiseless RetroFit Actions

Free Photoshop Action
By : Noise-less

GuteCharlotte color o2

Free Photoshop Action
By : GuteCharlotte

Cool Photo effect Action

Free Photoshop Action
By : Numizmat

Red Action

Free Photoshop Action
By : Sd-Stock

Photoshop Action Set o1

Free Photoshop Action
By : Lustdrunk