background preloader

CSS / Fonts

Facebook Twitter

Solving IE7 & IE8 PNG Opacity Problems. How to fix transparent png issues associated with Internet Explorer's alpha filter.

Solving IE7 & IE8 PNG Opacity Problems

July 18, 2011 PNG Alpha-transparencies IE7 and IE8 have native PNG support for alpha-transparencies, but it falls to pieces as soon as opacity comes into the picture. When setting any value for opacity, even 100% (ie. filter: alpha(opacity = 100)), IE fills in the alpha-transparency of the PNG with a pure black fill. This is sometimes refered to as a 'black halo'. Screenshot Gradient filter fix This is a great little hack that avoids the drawbacks associated with using AlphaImageLoader.

Colorbox uses this technique for alpha channel support in IE8 and IE7. Animated 3D Flipping Menu with CSS. CSS3 PIE: CSS3 decorations for IE. Added twelve column support · 079bc2e · offshoot/Skeleton. Html - How to fall back to a google web font if the user doesn't have eg helvetica installed. Software/Fonts. Fonts Lists of Free/Libre and Open Unicode fonts Draft Recommendations for Default Unicode Fonts By Script Introduction Free/Libre Open Source (FLOSS) desktop infrastructure has matured rapidly in the last few years.

Software/Fonts

As part of this phenomenon, an increasing number of modern Unicode fonts for numerous human scripts have become available under FLOSS licenses such as the GPL, Vera Bitstream-style licenses, and, most recently, the Open Font License (OFL) An additional number of fonts are available for "free download" under licensing terms that are not yet as clear as many in the Free/Open Source and Free Desktop community would like. As GNU/Linux and other Free Software / Open Source operating systems become mainstream all over the world, there is an increasing need for distributors of these operating systems to be able to build out font infrastructure from a common basis or set of standards. The task of choosing a set of default fonts has both objective and subjective aspects to it. Testing. Fontdirectory - Download Google Web Fonts. Is there a web-safe Helvetica Neue CSS font-family stack? « Rachael L. Moore. Or: I would love to know how to use Helvetica Neue on the web Or: No, really, was this always so complicated?

Is there a web-safe Helvetica Neue CSS font-family stack? « Rachael L. Moore

Border-radius (CSS) — Browser Support. Form Elements: 40+ CSS/JS Styling and Functionality Techniques. Aug 17 2008 Designing effective web forms isn’t easy, as we need to figure out more practical styling and functionality techniques to provide a great user experience.

Form Elements: 40+ CSS/JS Styling and Functionality Techniques

Recently there have been a number of noteworthy techniques such as styling different form fields, live validation, Context highlighting, trading options from field to another, slider controls and more – using CSS and different Javascript libraries. Below we present findings of search to more than 40 tutorials and demos to showcase the capabilities and robustness of CSS and Javascript. You might be interested to check other CSS related posts: 1-Styling dropdown select boxes- To style a dropdown select box is heavy work. 2-<select> Something New, Part 1-With a little DOM scripting and some creative CSS, you too can make your <select>s beautiful… and you won’t have to sacrifice accessibility, usability or graceful degradation.

Download Hundreds of Free @font-face Fonts. Removing The Dotted Outline. Anchor links (<a>'s) by default have a dotted outline around them when they become "active" or "focused".

Removing The Dotted Outline

In Firefox 3, the color is determined by the color of the text. I believe in previous versions and in some other browsers it is by default gray. This is default styling for the purpose of accessibility. For folks without the ability to use a mouse, they still need some visual indicator that they currently have a link active (so, for example, they can press enter to navigate to that link). You can try it for yourself by clicking on a link and mousing off of that link before letting go. Usually, this default styling isn't a big deal. Bear in mind that this styling literally uses the "outline" CSS property. CSSrefresh - automatically refresh CSS files. Build and preview your CSS web font stacks!

Want to preview your own header text?

Build and preview your CSS web font stacks!

Just edit any box and hit "Return" to update. Paragraph text is static. Ideal Font Start by choosing your ideal font, often the least-commonly available in the stack. You can leave this (or any other) field blank if your ideal font is also on one of the other lists. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. The League of Moveable Type. DD_roundies: Code-only rounded HTML boxes. 2011/4/8: It is high time I update the documentation here.

DD_roundies: Code-only rounded HTML boxes

This plugin got as far as supporting IE8 Release Candidate 1. That was a while ago. Things have changed. I spent some time away from the project before IE8 final was released. When I came back to it, much had changed. Foolishly, I never wrote anything to this effect because I'd hoped to give it a new college try at some point. Turns out I like riding my bicycle during my free time more than maintaining this project. DD_belatedPNG: Medicine for your IE6/PNG headache! 2011/4/8: This is no longer an actively maintained project.

DD_belatedPNG: Medicine for your IE6/PNG headache!

I apologize, I must move on with current events. This is a Javascript library that sandwiches PNG image support into IE6 without much fuss. You can use PNGs as the SRC of an <IMG/> element or as a background-image property in CSS. If you attempt the latter, you will find that, unlike with vanilla usage of AlphaImageLoader, background-position and background-repeat work as intended. As a bonus, "fixed" elements will respond to a commonly used set of Javascript style assignments, as well as the A:hover pseudo-class. Table of Contents Long story short, this uses Microsoft's implementation of VML instead of Microsoft's AlphaImageLoader filter. The intended implementation is pretty easy: Download a copy of the DD_belatedPNG Javascript file - please do not hotlink mine, I am on a shared host.

How to fix the superscript and subscript line-height problem with CSS. If you code CSS / XHTML, you are most likely familiar with the Superscript and Subscript tags.

How to fix the superscript and subscript line-height problem with CSS

If you use these tags in a situation where there are multiple lines of text you might run into a common problem. The problem is that the Super or Subscript characters push the lines of text further apart to make room for the character. This leaves you with an ugly looking block of text, with 2 lines with too much space between them. What needs to be done is to undo this default setting of pushing the lines apart.