Category

CSS


Disable Highlighting on Webkit Form Controls

November 13, 2009

Webkit users — that is, anyone using Apple Safari or Google Chrome: Have you ever wondered how to get rid of that fuzzy blue/yellow halo that appears when you focus on text fields, textareas, and other form controls on your website?  Here’s a small snippet of CSS code that you might find useful: Continue »

Compressing CSS with PHP

November 11, 2009

Here is a short PHP function that removes comments and whitespace from your CSS.  If you happen to be generating your stylesheet dynamically, try wrapping this around the output to reduce the overall size. Continue »

Table Cells and Max-Widths in Internet Explorer 8

September 29, 2009

How to fix a little bug in IE8 that can make certain elements inside of your table cells way too wide. Continue »

Manipulating Stylesheets with Greasemonkey

January 11, 2009

A set of useful snippets to work with styles in Greasemonkey. Continue »

CSS Naked Day ‘08

April 4, 2008

A Beautiful Site will be participating in CSS Naked Day ‘08 by stripping it’s stylesheets on April 9th. Continue »

Creating Stylesheets for Handheld Devices

May 29, 2007

The Internet is becoming a popular place for handheld devices to hang out. With XHTML and CSS, your website
can look just as good on mobile devices as it does in a browser. Continue »

Creating a Printable Website Using Print Stylesheets

May 27, 2007

Do away with old school print buttons, pop-up windows, and alternate versions of the same webpage. Print stylesheets
can make your website beautiful on paper with minimal effort. Continue »

Basic Text Styling With CSS

May 23, 2007

You already know how to do basic text styling with CSS, but a few extra minutes
could give your design a more professional look. Learn how to take the design
of your text one step further. Continue »

CSS Drop Caps

May 22, 2007

Learn how to create a simple CSS class that will render elegant drop caps
on your webpages. Continue »

Styling Blockquotes with CSS

May 22, 2007

Learn how to wrap nice graphical quotation marks around blockquotes with minimal markup. Continue »