¿Quiénes dirigen el país?
ALTA PREPARACION
Asunto: Currículo.

Nombre: Bibiana Aído.

Ocupación actual: Ministra de Igualdad.

* Edad: 31 años.

EXPERIENCIA LABORAL

* Prácticas en Unicaja durante el periodo agosto - octubre de 2000. -
(2 meses)
* Iturri S.A.: noviembre 2000 - septiembre 2001. - (10 meses)
* Caja San Fernando: contrato desde diciembre 2001 a 15 marzo 2002. -
(3 meses)

 * Observatorio de Emprendedores de la Universidad de Cádiz: abril 2002
- diciembre 2002. - (9 meses)

Tras esta dilatada formación y experiencia profesional… el primer gran
’salto’:
* Delegada provincial de la Consejería de Cultura de la Junta de
Andalucía en Cádiz. Decreto 37/2003, de 11 de febrero de 2003 (BOJA).
- (3 años)

El segundo gran ’salto’:
* Directora de la Agencia Andaluza para el Desarrollo del Flamenco de
la Consejería de Cultura de la Junta de Andalucía: julio 2006 - marzo
2008. - (20 meses)

El ‘triple salto mortal con tirabuzón’:
* Desde abril de 2008, máximo responsable del Ministerio de Igualdad
(¡¡¡!!!).

Creo que con esto está todo dicho


Quizás antes de ponerse a vender una estrategia que implique el empleo del Social Media, conviene saber qué sectores o mercados son los adecuados para embarcarse en un proyecto de este estilo. No todos los mercados valen para entablar conversaciones con tus clientes, ni dan pie para poder formar una comunidad alrededor de ellos, y todo esto es algo que no todo el mundo valora.Curiosamente, existen fórmulas para calcular si el mercado dentro del que está incluída cada empresa es proclive a realizar una estrategia de marketing que incluya a los Social Media. En dos de las fórmulas que se comentan, las que hemos encontrado, que seguramente habrá más fórmulas en Internet para usar, parten de unas ideas básicas. En la primera de las fórmulas, ideada por Charles Heflin, que aunque lleva los ejemplos a los extremos, divide los mercados en dos tipos: 1) aquellos donde la gente puede ser sociable o relacionarse (internet marketing, cine, música, deportes, medicina, bodas, reuniones, política…); 2) aquellos donde el grado de socialización es limitado o inexistente (calcetines, mesas, sillas de oficina, televisión por satélite, zapotos, poker, chips…). La otra fórmula, ideada por John Scott Dixon, realiza una división estructural de cada mercado, donde realiza una búsqueda sobre cuatro motores de búsqueda sociales, a los que aplica un promedio.

Lo que uno trata de comentar con todo esto, es recordar la importancia, antes de pensar en plantear un proyecto de social media en una empresa, de lo bien que cuadren las herramientas sociales con el mercado en el que la empresa se ubique.

A partir de aquí, y una vez que está clara la relación y la posibilidad de llevar a cabo un proyecto de este tipo, queda vender el proyecto internamente, e intentar que la relación de la dirección general con el mismo sea elevada. Dicho esto, Chris Brogan da doce ideas o puntos a seguir para vender a tus jefes el Social Media, que parten de una premisa vital: crear valores que ellos no tengan problemas en comprender.

  • Las herramientas del Social Media, como el blogging o las redes sociales, son más efectivas para alcanzar a un mayor número de usuarios que las páginas webs tradicionales.
  • El blogging se puede ver como una forma de reducir el número de llamadas de los clientes al servicio de asistencia telefónico.
  • El coste de implantación de esta estrategia no requiere de un elevado presupuesto o coste (eso sí supone un grado de implicación en capital intelectual elevado, que es difícil de cuantificar).
  • Las redes sociales son muy utilizadas por los clientes (comunicación más rápida y sencilla, conectan entre sí a los clientes, fuente de ideas para conocer sus necesidades y mejorar el servicio entregando respuestas más rápidas).
  • Son herramientas que permiten escuchar a los clientes y saber lo que están diciendo o comentando sobre la empresa.
  • Los primeros pasos son sencillos de dar e implica la búsqueda de bloggers con buenas relaciones con el departamento de comunicación de la empresa, e implicados con el proyecto hasta el punto de actualizar con frecuencia el contenido.
  • Ventajas a nivel interno de las herramientas de Social Media. Por ejemplo, compartir información importante, training, colaboración para proyectos, de una manera más rápida que las comunicaciones habituales.
  • La creación de una estrategia con un elevado componente o uso de los medios sociales asegura a los departamentos de marketing y relaciones públicas un mejor seguimiento para la publicidad realizada, mediante clicks y métricas online, que si la campaña se realizase empleando medios tradicionales.
  • Sirven para establecer una posición de liderazgo.
  • Usar las redes sociales ayuda a realizar estudios con los clientes, labores de recursos humanos, marketing de productos, y valorar el grado de conocimiento que tienen de la empresa en la comunidad.
  • Crear un grupo o red social (un cualquier tipo de plataforma alrededor de un sitio inicial), eleva el grado de fidelidad del cliente a la empresa (algo muy valorado por la alta dirección).
  • Otro paso importante para lograr convencer a los jefes de las bondades del Social Media, es encontrar ejemplos llevados a cabo por otras empresas o organizaciones, si puede ser de la competencia mejor, y presentar la información completa de cómo están haciendo uso de estas herramientas.

Insisto en lo mismo de siempre, todo esto que se comenta no se trata de un dogma o unas reglas a seguir a rajatabla. Simplemente son puntos de partida a valorar. Un principio con el que intentar convencer a los jefes que tienen la última decisión, de que se quiten de una vez la venda de los ojos


Windows 7.Microsoft sigue preparando la próxima versión de Windows

Microsoft sigue preparando la próxima versión de Windows, Windows 7. De momento, los de Redmond han puesto en marcha la web oficial, donde se detallará su contrato de licencia para el usuario final, el EULA.

En la página habrá cuatro apartados sobre la licencia de este sistema operativo en desarrollo, que están por venir y que estarán sujetos a cambios. Uno se llama Windows 7 “Privacy Statement”, declaración de privacidad de Windows 7. Otro se llama Windows Media Player, el tercero “Activation” y el cuarto y último “Validation”.

Los apartados de validación, activación y privacidad ya existen en Windows Vista. Dado que Windows 7 es una evolución de Vista, es muy probable que su contrato y datos sobre medidas contra el uso sin licencia y la privacidad de los uuarios sean simplemente una evolución de los existentes en Vista.

En la web no hay contenido como tal, sólo “coming soon”, contenido que estará disponible próximamente. Puede que Microsoft decida publicar finalmente el contrato de Windows 7 antes de la llegada oficial del propio sistema operativo, que tendría lugar a finales de 2009 o comienzos de 2010.

Puede parecer una incongruencia el que hubiera algún contrato de licencia para un software no presente todavía, aunque cabe la posibilidad de que sea un indicio del avance del desarrollo de Windows 7, en fase de prueba por sus socios más cercanos. La conferencia PDC2008 (Professional Developers Conference) tendrá lugar a finales de octubre, lo que deja ver que se acerca la llegada de la primera beta de Windows 7.


Los 70 mejores video tutoriales de Photoshop

Speed Painting

  • John Locke
    The Lost character John Locke.Photoshop Tutorial Screenshot
  • Sea Monster
    This creature is very angry. Godzilla let her down.Photoshop Tutorial Screenshot
  • Spider-Man
    Superhero Spider-Man with his traditional red-and-blue costume. My spider-sense tells me, i should open Photoshop.Photoshop Tutorial Screenshot
  • Werewolf
    A wolflike and very hairy creature.Photoshop Tutorial Screenshot
  • Adriana Lima
    Best known for her modeling work with Victoria’s Secret.Photoshop Tutorial Screenshot
  • Hellboy
    Another comic character, this time a large red-skinned demon .Photoshop Tutorial Screenshot
  • Gabi
    Artists paint not only celebrities, but also photos of the beloved ones.Photoshop Tutorial Screenshot
  • Jack Sparrow
    Captain Jack Sparrow. A Pirate of the Caribbean.Photoshop Tutorial Screenshot
  • Scarlett Johansson
    Actress Scarlett Johansson. A good example of black and white power. If looks could kill.Photoshop Tutorial Screenshot
  • Fergie
    Stacy Ann Ferguson, better known as Fergie.Photoshop Tutorial Screenshot
  • Indiana Jones
    After 18 years back in cinemas. Indiana Jones.Photoshop Tutorial Screenshot
  • Caravaggio
    Michelangelo Merisi da Caravaggio was an Italian artist. »La deposizione« in photoshop.Photoshop Tutorial Screenshot
  • Beyonce
    R&B-Star Beyoncé Knowles.Photoshop Tutorial Screenshot
  • Dragon
    The brother of the creature above.Photoshop Tutorial Screenshot
  • Mona Lisa
    What a smile. Leonardo Da Vinci masterpiece.Photoshop Tutorial Screenshot
  • Bob Ross
    Bob Ross was an painter and television host. Now, he was painted himself.Photoshop Tutorial Screenshot
  • Waterfall
    How to draw a waterfall environmental concept scene.Photoshop Tutorial Screenshot
  • Albert Einstein
    Everything is relative. Famous and brilliant theoretical physicist Albert Einstein.Photoshop Tutorial Screenshot

Button and Interface

Beauty Retouching

  • Evolution
    A young classics.Photoshop Tutorial Screenshot
  • Face Change
    This is Angelina Jolie face changed in Photoshop into a comic charakter.Photoshop Tutorial Screenshot
  • Face Retouch
    Watch the newest plastic surgery tipps.Photoshop Tutorial Screenshot
  • Teeth whitening
    Whiten teeth and correct slightly crooked.Photoshop Tutorial Screenshot
  • Skin Smoothing
    Smooth the texture, remove major wrinkles and bumps.Photoshop Tutorial Screenshot
  • Beauty Saloon
    Photoshop is the best product in the beauty industry.Photoshop Tutorial Screenshot
  • Perfect lie
    What is real and what is photoshopped. Don`t believe your eyes.Photoshop Tutorial Screenshot
  • Tattoo removal
    Have you ever regretted the tattoo of your youth. Use Photoshop!Photoshop Tutorial Screenshot
  • Skin color retouching
    Two ways for getting those skin colors to behave just the way you want them.Photoshop Tutorial Screenshot
  • Digital Makeup
    Enhance your appearance and simulate make-up.Photoshop Tutorial Screenshot

Digital matte painting

Photo Manipulation

  • Match Color
    Color correction with »Match color«, found under »Image ↔ Adjustment«. Combine two photos and make the colors match.Photoshop Tutorial Screenshot
  • Sin City
    Simulate the style of film noir-like Sin City in your photos. High contrasts, black and white and some spots of red, blue and yellow.Photoshop Tutorial Screenshot
  • Produce Scary Photos
    Produce scary photos with the overlay of textures on the skin and dark hair. It’s that simple.Photoshop Tutorial Screenshot
  • Human To Statue
    Convert your normal pictures of people into photos of statues. Again, textures used for a realistic effect.Photoshop Tutorial Screenshot
  • Sci-Fi
    A mysterious explosion of blue light or a spherical spaceship. They are among us.Photoshop Tutorial Screenshot
  • Starry Eyes
    Create eyes with some stars in it. Real stars of a photo, in the shape of the eye and fit with the blending mode »Overlay« or »Screen«. “A little bit of heaven in your own eyes.”Photoshop Tutorial Screenshot
  • Changing Colors
    Changing hair, eyes and cloth colors with Photoshop.Photoshop Tutorial Screenshot
  • Toning & Burning
    Correct the colors and change the surface. Make a photo old and broken.Photoshop Tutorial Screenshot
  • Popout Picture
    The Out of Bound-Effect. A really useful trick to create cool photos.Photoshop Tutorial Screenshot
  • Glassball
    A ball of glass, with refractions. A good 3D-Illusion in 2D-Software.Photoshop Tutorial Screenshot
  • Mix two creatures
    Two species melt into a new animal. Like this crog, a combination of a frog and a crocodile.Photoshop Tutorial Screenshot
  • Lightning
    Photoshop is definitely hot enough to fuse sand into glass, with this lightning tutorial.Photoshop Tutorial Screenshot

You Suck at Photoshop

Graphics, Effects and more

Collections

  • PixelPerfect
    Bert Monroy takes a stylus and a digital pad and shows us the tips and tricks in 75 episodes.Photoshop Tutorial Screenshot
  • Tutorialchamp
    The Key To Mastering Photoshop. Only 10 but high quality Videos.Photoshop Tutorial Screenshot
  • Planet Photoshop
    78 Video-Tutorials. The manipulation of photos is the main theme.Photoshop Tutorial Screenshot
  • Lombergar
    Lombergar.com offers over 20 free online video tutorials.Photoshop Tutorial Screenshot
  • PhotoshopUser TV
    The Photoshop Guys Dave Cross, Matt Kloskowski, and Scott Kelby shows weekly amazing tricks.Photoshop Tutorial Screenshot
  • The Radiant Vista
    20 huge Quicktime-Videos.Photoshop Tutorial Screenshot
  • Photoshop Killer Tips
    Again a Photoshop Guy. Get your daily dose of the coolest Photoshop tips with Matt Kloskowski.Photoshop Tutorial Screenshot
  • luv2help.com
    He really loves to help us learning Photoshop.Photoshop Tutorial Screenshot
  • Adobe Video Workshop
    Start learning about any Adobe application like Photoshop, Lightroom and all the other creative suite products. Tons of videos.Photoshop Tutorial Screenshot

Dirk Metzmacher is a professional Photoshop trainer, book author and designed with over 10 years of experience. He is also a creative mind behind Photoshop Weblog, a German blog about techniques, tutorials and resources related to Adobe Photoshop.


70 Tutoriales de belleza para retocar imagenes

Skin

  • Beautiful Skin
    Not everyone has beautiful skin but you can make it better - at least in your photographs.Photoshop Tutorial Screenshot
  • Smooth skin
    How to make a skin like the ones you see in magazines like Playboy.Photoshop Tutorial Screenshot
  • Beauty Retouching
    Beauty retouching is one of the most demanding parts of photo manipulation. The main trick for your results to be astonishing is patience.Photoshop Tutorial Screenshot
  • Remove Freckles
    Reduce slight freckles naturally without using the Healing Brush. In this Photoshop tutorial, you’ll learn how to subtract freckles using a layer.Photoshop Tutorial Screenshot
  • Perfect Skin
    How you can get rid of all the acne and pimples and blemishes and scars on your face. Photoshop Tutorial Screenshot
  • Skin looking smooth
    During the course of this Photoshop Lunacore shows you how to make skin look smooth.Photoshop Tutorial Screenshot
  • Makeup makeover
    How to remove hair in front of someone’s face, retouch skin and apply makeup using Photoshop.Photoshop Tutorial Screenshot
  • Dark skin - bright skin
    This tutorial shows you how to make a dark skin bright(er).Photoshop Tutorial Screenshot
  • A chapter of Beauty Retouching
    A free sample chapter of “Skin”, a Photoshop Retouching Book by Lee Varis about Beauty Retouching.Photoshop Tutorial Screenshot

Hair

Body (breasts, bum, figure, etc.)

  • Trimming weight
    Trimming weight off with the Liquify tool.Photoshop Tutorial Screenshot
  • Digital Nip Tuck
    Photoshop is probably the cheapest alternative to plastic surgery possible.Photoshop Tutorial Screenshot
  • Digital Nose Job
    Simple and easy photo editing technique to give someone a digital nose job.Photoshop Tutorial Screenshot
  • Spare Tires
    In this tutorial we will see how to remove love handles (or the extra fat around the waist).Photoshop Tutorial Screenshot
  • Smaller Nose
    This tutorial will walk you through the steps for reducing the size of a nose in a photograph using Photoshop.Photoshop Tutorial Screenshot
  • Bigger Bustline
    Learn to make a bustline look huge and comically big.Photoshop Tutorial Screenshot

Eyes, mouth and teeth

  • Enhancing Iris Color
    It is said that the eyes are windows into the soul. This tutorial details a simple yet powerful technique for altering eye color using basic Photoshop tools.Photoshop Tutorial Screenshot
  • Red Eye Tool
    This photoshop tutorial will show you how to use Photoshop CS2’s Red Eye tool in a non-destructive way.Photoshop Tutorial Screenshot
  • Whitening Teeth & Eyes
    Some methods to make natural elements white or whiter.Photoshop Tutorial Screenshot
  • Make eyelashes thicker
    Learn how to make eyelashes thicker.Photoshop Tutorial Screenshot
  • Apply Eye Make-up
    This photoshop tutorial will show you how you can add eyeshadow, eyeliner and mascara to any model easily.Photoshop Tutorial Screenshot
  • Eyebrow Piercing
    This tutorial shows you how to add an eyebrow piercing to a photo.Photoshop Tutorial Screenshot
  • Photoshop dentist
    Everybody can be a good dentist - with Photoshop.Photoshop Tutorial Screenshot
  • Whitening Teeth
    Another way to make whiter teeth with Adjustment Layer.Photoshop Tutorial Screenshot

Galleries

  • Celebrities Before and After
    Shows some photos of celebrities before and after beauty retouching.Photoshop Tutorial Screenshot
  • Greg Apodaca
    Rolling the mouse over most of the images of this digital portfolio will display the original scan before it was retouched.Photoshop Tutorial Screenshot
  • Touch of Glamour
    Photo Retouching and Enhancement for Pageant, Model and Glamour Photography - Rollover effect also here.Photoshop Tutorial Screenshot
  • Amy Dresser
    Portfolio of a full-time retoucher and illustrator.Photoshop Tutorial Screenshot
  • Retouche
    Norm Nason is a senior graphic designer and fine artist.Photoshop Tutorial Screenshot
  • The art of retouching
    Glenn Feron was born, then found art and was born again.Photoshop Tutorial Screenshot
  • Digitalpablo
    Portfolio of Pablo J. Castillo.Photoshop Tutorial Screenshot
  • Digital Retouche
    A German professional retoucher.Photoshop Tutorial Screenshot
  • Artist 2 Design
    Experience retouching thousands of actors headshots over the years has taught Shawn the art of what to retouch and what not to.Photoshop Tutorial Screenshot
  • Digital Retouching Services
    From very basic blemish clean ups to full out magazine quality beauty skin retouching.Photoshop Tutorial Screenshot
  • Retouchme
    Creative high-end beauty, fashion and product retouching.Photoshop Tutorial Screenshot
  • Retouche Demo
    Nice flash demonstration how to retouche a photo.Photoshop Tutorial Screenshot

Video-Tutorials

  • A Perfect Lie In Photoshop
    Cameron Rad turn a beautiful woman into a perfect one. “I went through about 40 different makeover techniques, until i found what i thought was the best balance for this photo.” A good “flawless” skin method.Photoshop Tutorial Screenshot
  • Hilary Duff
    Hilary Duff makeover.Photoshop Tutorial Screenshot
  • Breast Enlarge
    This tutorial shows you how to enlarge a breast.Photoshop Tutorial Screenshot
  • Smart Filters
    Using smart filters to soften the skin of your subject gives you the ability to retouch your image while maintaining flexibility.Photoshop Tutorial Screenshot
  • Basic Beauty
    Learn the absolute basics of beauty retouching in Photoshop.Photoshop Tutorial Screenshot
  • Beauty Saloon
    Skin retouching with Photoshop.Photoshop Tutorial Screenshot
  • Model Beauty
    Speed revision of a model beauty.Photoshop Tutorial Screenshot
  • Natural to Synthetic
    Extremly makeover of a photo of Amy Lee from Evanescence.Photoshop Tutorial Screenshot
  • Gossip Girl
    Leighton Meester super glam.Photoshop Tutorial Screenshot
  • Body makeover
    Makeover to illustrate what photoshop can do.Photoshop Tutorial Screenshot
  • Magic
    The fast way to loosing weight.Photoshop Tutorial Screenshot
  • Pretty
    A little time and effort can do a lot.Photoshop Tutorial Screenshot
  • Extreme
    A really nice Photoshop Makeover.Photoshop Tutorial Screenshot
  • Pretty face
    Another Makeover.Photoshop Tutorial Screenshot
  • Evolution
    An evolution of a model.Photoshop Tutorial Screenshot
  • proof
    Proof that you can in fact create top beauty images with a point and shoot camera.Photoshop Tutorial Screenshot
  • model job
    Great digital makeup in photoshop.Photoshop Tutorial Screenshot
  • The Perfect Lie
    High-speed Photoshop transformation.Photoshop Tutorial Screenshot

Complete Workflow

  • Pure perfection
    Spin raw beauty into pure perfection. Very detailed tutorial.Photoshop Tutorial Screenshot
  • Beautify a Face
    This extensive Photoshop tutorial will show you how to beautify a face.Photoshop Tutorial Screenshot
  • Ultimate Makeup
    A series of steps to improve skin tones, modify shadow and light patterns to increase the impact, and enhance the eyes and hair to create a striking portrait.Photoshop Tutorial Screenshot

Artistic Retouch

  • Phoenix Hair Effect
    With some simple brushing techniques, and a bit of color tweaking, you can spice up your photos with this flaming hair tutorial.Photoshop Tutorial Screenshot

More beauty

  • Longer Nails
    You would like a woman’s nails to be longer? Here we go…Photoshop Tutorial Screenshot
  • Eliminate Cellulite
    In this tutorial you can learn how to eliminate a person’s cellulite.Photoshop Tutorial Screenshot
  • Nail manipulation
    Manipulating nails by increasing length and changing shade.Photoshop Tutorial Screenshot
  • Airbrush retouching
    See what`s possible with Photoshop`s airbrush tool.Photoshop Tutorial Screenshot
  • Retouching for Beginners
    This tutorial shows a couple of simple techniques you can use to enhance your portraits.Photoshop Tutorial Screenshot
  • Photoshop Beauty
    Some ways to improve your photos with the help of using Photoshop.Photoshop Tutorial Screenshot
  • Tone Down Highlights
    Sometimes the only thing that keeps a good portrait from being a great portrait is a little too much shine on the skin.Photoshop Tutorial Screenshot
  • Looking good
    Great Techniques for Photoshop Beauty Retouching.Photoshop Tutorial Screenshot
  • New look
    Whatever a model looks like, we can give her a totaly new, beautiful look.Photoshop Tutorial Screenshot
  • Glamour Style
    Suzette Troche-Stapp is one of the most sought-after photographer/digital artists today.Photoshop Tutorial Screenshot

Dirk Metzmacher is a professional Photoshop trainer, book author and designed with over 10 years of experience. He is also a creative mind behind Photoshop Weblog, a German blog about techniques, tutorials and resources related to Adobe Photoshop.


7 Principios para mantener las Css limpias y optimizadas

1. Use Shorthand

If you’re not already writing in shorthand, you’re late to the party. But fortunately, this party never ends. Using shorthand properties is the single easiest practice you can do to cut down your code (and coding time). There’s no better time than the present to start this efficient coding practice, or to review it.

Margin, border, padding, background, font, list-style, and even outline are all properties that allow shorthand (and that’s not even an extensive list!).

CSS Shorthand means that instead of using different declarations for related properties…

view plaincopy to clipboardprint?

  1. p { margin-top10px;  
  2.     margin-right20px;  
  3.     margin-bottom:  30px;  
  4.     margin-left40px; }  
Array

… you may use shorthand properties to combine those values like so:

view plaincopy to clipboardprint?

  1. p { margin10px 20px 30px 40px; }  
Array

By specifying a different number of values, browsers would interpret the rules in a specified manner, illustrated in the diagram below.

Illustration of how shorthand declarations are interpreted depending on how many values are specified for a property
Illustration of how shorthand declarations are interpreted depending on how many values are specified for a property. This order also applies to padding and border-width among other properties.

Font is another helpful shorthand property that helps save some room and keystrokes.

Illustration of font shorthand examples
Examples of the font shorthand property. Note: leaving some values unspecified will mean that those properties will reset to thier initial values.

Those are just two examples of shorthand, but by no means should be considered a comprehensive guide. Even if you are familiar with the rules above, be sure to look at the articles mentioned below for more helpful reminders of those powerful properties that help keep your code succinct. Because of the number of lines and characters saved, going from a previous version of a CSS file which used no shorthand properties to one that makes full use of shorthand can have dramatic effect on file size.

See CSS Shorthand Guide (dustindiaz.com) and Efficient CSS with shorthand properties (456bereastreet.com) for more information about shorthand properties.

2. Axe the Hacks

Jon Hick's blog hicksdesign.co.uk/journal makes use of conditional comments
Jon Hick’s blog hicksdesign.co.uk/journal makes use of conditional comments

Hacks against dead browsers are safe, but hacks against the living aren’t. None of them. Ever.

Keep CSS Simple - Peter-Paul Koch (digitial-web.com)

If you’re like me, those words from Peter-Paul Koch’s nearly 5-year-old article may make you feel a little embarrased. After all, who hasn’t served hacks to Internet Explorer 6 and even Internet Explorer 7? As bad as we may want IE6 to lay six pixels under, the truth is it’s far from dead.

But now we know that using conditional comments to serve hacks correctional declarations for IE6 and IE7 is an accepted practice, even recommended by the Microsoft IE development team. Using conditional comments to serve IE-specific CSS rules has the added benefit of serving a cleaner, and therefore smaller, default CSS file to more standards-compliant browsers, while only those browsers that need the hackery daiquri (i.e. IE) will download the additional page weight.

Here’s how to use conditional comments to serve styles only to Internet Explorer 6:

view plaincopy to clipboardprint?

  1. <!–[if IE 6]>  
  2.     <link rel=“stylesheet” type=“text/css” href=“ie6.css”>  
  3. <![endif]–>  
Array

For IE7, you can use the above and substitute “6″ for “7″.

Alternatively, if there is hack-less way of getting the desired result using CSS, with all other things being equal, go for it! The less hacks you have to write, the simpler and lighter the code.

3. Use whitespace wisely

Whitespace, including spaces, tabs, and extra line breaks, is important for readability for CSS code. However, whitespace does add, however miniscule it may be, to page weight. Every space, line-break, and tab you can eliminate is like having one less character.

But this is one area where I would not encourage you to skimp just to get a smaller file. It’s still important that you write in a way that is readable to you (and hopefully to others), and if that includes using whitespace for formatting, so be it. After all, if you can’t read it, you’re going to have a hard time applying the other principles mentioned in this article. Just be aware of the fact that whitespace is like air - you might not be able to see it, but it does weigh something.

The figure below shows two different extremes in formatting style, with much whitespace, and the other with very little. I happen to favor the single-line formatting option without tabs, as I can scan the selectors a little easier, and I develop using the full width of my wide-screen monitor. But that’s just me. You may like your selectors to appear nested, and your declarations on each line.

Illustration of two extremes in CSS formatting, one with lots of whitespace, one with little whitespace
Illustration of two extremes in CSS formatting: lots of whitespace vs. very little whitespace

Using whitespace effectively is great, and a recommended practice for easy-to-manage code, but be aware that the less whitespace you have, the smaller the file. Even if you choose work with whitespace with your working file, you can choose to remove it for the production version of your CSS file, so your files stay skinny where it really counts.

4. Prune frameworks and resets

Nathan Smith's 960 Grid System uses a reset
Nathan Smith’s 960 Grid System CSS framework uses a reset rule.

If you’ve chosen to use a CSS framework (including ones you’ve written yourself), take the time to review the documentation as well as every line of the CSS file. You may find that the framework includes some rules that you don’t care to use for your current project, and they can be weeded out. Also, you may find that the framework includes a more elegant and concise way of achieving a presentational detail than what you normally use, and knowing about them can help prevent you duplicating rule sets unintentionally.

This goes for resets as well. YUI Grid CSS uses a reset, and Eric Meyer’s Reset is also very popular. Resets are great to use because they help to neutralize a browser’s default style. But if you know the nature of the site you are building, you may find some declarations that you know you’ll never need. <pre> and <code> will likely go unused on my Aunt Martha’s recipe blog. A design portfolio probably won’t ever use <sub>, <dfn>, <var>, etc. So ditch what you don’t need. It’s not only ok, it’s encouraged, even by Eric Meyer:

As I say on the reset page, those styles aren’t supposed to be left alone by anyone. They’re a starting point.

Crafting Ourselves - Eric Meyer (meyerweb.com)

Using a framework and/or a reset set of rules can help keep your work optimized, but they should not be accepted in their default state. Considering each declaration and cutting back on unneccessary ones can further help you keep your CSS files lean and readable.

5. Future-proof your CSS

Doug Bowman's stopdesign.com CSS reveals specially crafted selectors used for layout
Doug Bowman’s stopdesign.com CSS reveals specially crafted selectors used for layout.

Another way to optimize your code is to separate layout-specific declarations from the rest of your rules. I’ve heard options of separating typography and colors from layout-specific rules in the CSS file. I’ve never been fond of this practice, as I don’t care to repeat selectors just because I have different types of declarations to associate with them.

However, I’m warming up to the idea of separating layout styles from the rest of the styles, and giving layout it’s own file, or at least it’s own section. This is also advocated in Andy Clarke’s Transcending CSS. Within the book, Clarke reminds us of the following:

Full CSS layouts have always been a compromise. The current CSS specifications were never designed to create the visually rich and complex interface layouts that modern Web demands. The current methods — floats and positioning — were never intended as layout tools.

Transcending CSS - Andy Clarke.

One way of interpreting this is that floats and positions to establish sidebars and columns are, well, layout hacks. And though we really don’t have an alternative, we hopefully will once a layout standard is agreed upon and browsers start supporting them. When that happens, it should be easy to swap out those hacked up box-model properties for ones intended for layout. Though it will be a while before new layout modules are here, using the right properties to handle layout instead of compensating for the quirks of our current limited set of properties will most certainly help condense page weight.

6. Document your work

David Shea's markup guide at mezzoblue.com
David Shea’s markup guide illustrates the proper usage for HTML tags and how those are represented on his site, mezzoblue.com. Even sites without dynamic HTML can have this simple and effective guide (using its own CSS file, of course!) as a starting point of documentation.

For a team of designers, it is extremely important to communicate regularly so that markup and style rules are created in a consistent way, and also to create site standards. For example, if someone comes up with way to markup a tab interface for the site, documentation will keep others from duplicating that effort, preventing code bloat in the HTML and CSS.

Documentation, including markup guides and style sheet guides, is not just for group efforts — they are just as important for a one-man design team. After all, a year after working on other things, revisiting one of your own projects can feel quite foreign. Your future self might appreciate reminder of how your CSS grid framework is supposed to work, or what pages already have a treatment for a secondary action form button, and it will save you or someone else from appending redundant and unnecessary rules to your CSS.

The choice to use documentation has a bonus side effect of being a great place to park explanations that otherwise must be included as CSS comments. CSS comments are great for sectioning off chunks of long CSS files, but verbose comments that are used to explain design choices can add to file size, and might be better suited to a markup and style guide. Documenting your code using CSS comments within your working file is most definitely better than nothing at all, but housing that material in separate documentation is a great way to keep the code focus and free from bloat.

7. Make use of compression

Some great applications have been created to compress and optimize CSS for you, allowing you to serve a human-unreadable but still browser-friendly files that are a fraction of the origional working copies. Applications like CSSTidy and the YUI Compressor can compress whitespace, detect and correct for CSS properties that are overwrite each other, and look for opportunites to use CSS shorthand that you may have missed. (These types of applications are excellent sources to read about, if for no other reason, to learn what things you can further do by hand).

Even popular text editors like BBEdit, TextMate, and TopStyle, can help format your CSS files to your liking. There are also options serve zip versions of your CSS files using PHP. You can find more CSS compressors and optimizers in the post List of CSS Tools.

It is important to note that these applications do their best to minimize errors, but they aren’t always perfect. Also, they work best when browser hacks are not included in the file set (which is yet another reason to keep those hacks external).

There is one last type of application that can help prune CSS file size I’d like to mention. It can crawl a web site and log which CSS rules and declarations are not being applied, then bring these to your attention. Unfortunately, this tool hasn’t been inventend yet, but I would gladly pay for such a application.

I can recall times when I’ve been afraid to delete certain rules because there is no documentation that explains to me that those selectors are leftover from previous iterations of development. If an app can bring those rules to my attention, that will help with maintenance and keeping CSS files lean.

Conclusion

Clean and optimized code is important not just for file size, but for maintenance and readability as well. The principles mentioned above are good considerations not just for CSS, but can be applied to HTML, JavaScript, and other programming languages. CSS files are not as prominent as the rendering of your web site to an end-user, but consideration of the above principles can help with both the user experience (in the form of smaller file sizes) and the developer experience (cleaner code). Apply these principles to your current and future projects, and and you will surely appreciate the efforts.