background preloader

CSSrefresh - automatically refresh CSS files

CSSrefresh - automatically refresh CSS files

teleject/Responsive-Web-Design-Artboards - GitHub 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. 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. Here’s another method some people use which you can try.

twolfson/File-Watcher - GitHub 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? In this context, when I say “safe”, I don’t mean “using only web safe fonts”, I mean “how the heck do you get the non-web-safe-font to show up when you know you have it”? I never noticed before having so much trouble figuring out what a font’s name should be in a font stack. Sometimes, for a particular system, I’ve looked up a “better” font to add to the font stack, but.. Wondering what I’m talking about? It’s relevant to a design I’m working on right now. Unfortunately, searching the web for how to do this has raised more questions for me than it answered. The challenges are several: First, it seems that different systems — either having to do with the operating system or the browser — deal with spaces differently (or something)? #1 – Spaces? One system might recognize “HelveticaNeue” and another “Helvetica Neue.” #2 – Weights and Stretch Grasping at Font Stacks

chjj/tty.js - GitHub DD_belatedPNG: Medicine for your IE6/PNG headache! 2011/4/8: This is no longer an actively maintained project. 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. Due to popular demand, here is some documentation for how to "fix" elements on a pick-and-choose basis. (Based on the normal usage approach)

ReloadIt DD_roundies: Code-only rounded HTML boxes 2011/4/8: It is high time I update the documentation here. 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. 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. That said, IE9 is supposedly offering itself as an update. This was a neat experiment, but note that I never took the version numbers out of "alpha" mode. If I were truly sore on this subject, I would take this page down; I will leave it up for posterity instead. This is a Javascript library that makes creation of rounded-corner HTML boxes easier, with a focus on Internet Explorer. IE is supported through use of VML. Since Opera doesn't currently (time of writing: 2009-01-01) support border-radius, this library doesn't do anything in Opera. Table of Contents

Fu Commandlinefu.com is an online repository for recording commandline gems, that you return to again and again. 'fu' is a commandline interface that allows you to harvest the power of internets commandline wisdom. Now you can search this trove of online treasures from the comfort of your commandline . For example ... Try commandlinefu.com » So you searched commandlinefu.com for for "query wikipedia" above. And with a little ⌘-V (Mac) or Ctrl-V or Shift-Insert, you can paste your query into the terminal, and voilà! And if you are curious about others think about that command you can learn more by reading the associated comments in a browser... For more information check out the wiki! Go to Wiki »

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. 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. 3-Styling even more form controls-There are a lot of controls that can be used in an HTML form. Homepage

Web Development Bookmarklets Web Development Bookmarklets These bookmarklets let you see how a web page is coded without digging through the source, debug problems in web pages quickly, and experiment with CSS or JS without editing the actual page. (To keep bookmarklets in order to use them on other web pages, drag them to your Bookmarks Toolbar. Or, install them all at once.) Browsers: is Internet Explorer for Windows, is Netscape 7 or Mozilla, is Netscape 4, and is Opera. Details Opens a JavaScript Shell and allows it to access the current page. Opens a JavaScript Development Environment and allows it to access the current page. Type in CSS rules to experiment or to create a temporary user style sheet. Creates a new window into which you can type CSS rules for the original page. Experiment with changes to the page's style sheet. Similar to "test styles". This bookmarklet supports inline and linked style sheets, imports, and style sheets with data: URLs (such as those created by "test styles"). Also shows classes (e.g.

Font Stack Builder | Build and preview your CSS web font stacks! Want to preview your own header text? 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. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. percent of users will have this font Mac Option Next, choose a fallback for Mac users (roughly 12% market share). Windows Option Now, choose a fallback for Windows users (roughly 85% market share). Linux Option And last, a fallback for Linux users (roughly 3% market share). Web-Safe Font "Web-Safe Fonts" are fonts that are installed on nearly all computers by default. Default Last of all, specify a general fallback for the tiny percentage of users who do not even have the "Web-Safe" fonts available. Voila! font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", "Dejavu Sans", Verdana, sans-serif ; Credits Site design © Erin Lawrence, 2011. Mm

Mamp and Parallels 5: How to setup a windows & mac virtual host — Ice To The Brim After a good deal of frustration and silliness I found out how to access virtual host through a windows browser on a virtual machine on a mac. That is, if you want to develop websites on your mac, and then do cross browser testing (internet explorer) on a virtual machine running inside your mac (with Parallels or VMWare, or other), read on. First of all you need mamp. #1 Setup MAMP to use default ports Setup mamp to use the default ports for Apache and MySQL: 80 and 3306 respectively. #2 Setup Your Mac Virtual Hosts (httpd.conf & hosts file) This will seem confusing at first, but it becomes very clear after a little while. edit the Apache httpd.config file for MAMP (because you gotta tell MAMP what’s up) edit the hosts file of your computer. You can find out everything you need to about these two steps at MAMP’s help page on setting up virtual hosts. #3 Setup parallels 5 (NAT IP address & Hosts file) 3.1: Figure out your Parallels NAT IP address 3.2 Edit your Windows Host File

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. 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. This draft document represents the beginnings of one part of that effort and follows from a recent discussion at the GNOME User and Developer European Conference (GUADEC, on figuring out the most appropriate FLOSS fonts that a distribution could choose for various Unicode script blocks. The task of choosing a set of default fonts has both objective and subjective aspects to it. Testing Please collect test material on per-script pages and link them from the Software/Fonts/Tests page. African Scripts

Related: