All posts tagged CSS

¿Así que querías saber (casi todo) de CSS?

Using CSS Variables

magen vista en wikipediaIt is very common to find repeated property values in a CSS stylesheet. CSS Variables allow authors to define variables that are reusable as property values anywhere in a stylesheet and queryable/modifiable through an extension of the CSS Object Model.
CSS Variables can define stylesheet-wide values identified by a token and usable in all CSS declarations. A recurring value, like colors or background-color in a stylesheet, will be way easier to update across the stylesheet if a developer has to modify at just one single place or value instead of modifying all style rules applying the property:value pair.
CSS Variables, once implemented, will allow authors to define variables that are reusable as property values anywhere in a stylesheet and queryable/modifiable through an extension of the CSS Object Model.
Majority of the Web Designers and Developers has been requesting a way of defining CSS Variables since its early release. Nonetheless, some are of the opinion that it is not needed and will complicate matters.
Why variables in CSS?

Continue reading →

CSS RESET – ACTUALIZACIÓN FEB08

http://meyerweb.com/eric/tools/css/reset/reset.css

Continue reading →

Dise

CSS Tab Designer

CSS tabs were never easier: CSS Tab Designer: The program is small (1.35Mb download) but what it lacks in size it makes up for in features.

On the left of the screen is a place to add your menu items. You can use a sample list (included with the program) to create the initial menu, if you like. There are six sample lists and these can be edited to fit your needs with basic menu creation.

The middle section is where you choose the tab style you want to use. It’s then displayed on the right side of the screen, using the menu items you created on the left side. The styles can be easily changed just by clicking on a different one. Once you’re finished, the code can be displayed in the preview area. (There are tabs at the bottom to switch display modes.) From there you can copy the code or let the program generate an XHTML file for you. The code can’t be edited on the screen but once it’s in the HTML file, you can do whatever customizing you want to do. It even supplies the graphics, if needed.

You can also preview the code in several different browsers: Internet Explorer, Netscape, Firefox, Opera, Konqueror, Safari and Camino. You won’t have to worry about how it’s going to look once you add it to your existing code.

A pretty simple program but it creates some very nice CSS navigation code. And, it’s strict XHTML compliant code.

SOLUTION: PNG in Windows IE: Info & Links

Pros:
* Ignored as a comment in other browsers – it’s only run by Windows IE.
* Works with (X)HTML Strict & Transitional Doctypes
* Does not break W3C validation
* Lightweight and very easily deployed
* Works with existing in-line or external CSS rules based on class or ID selectors
* Works with old-style img align=”left” or align=”right” attributes
* Runs after any existing Body Onload code
* Works with imagemaps and input images using a special version
Cons:
* Doesn’t work in IE versions earlier than 5.5 – the AlphaImageLoader filter wasn’t introduced until version 5.5. There is no cure for earlier versions.
* Requires JavaScript to be enabled – the estimations for how many people choose not to use JS vary wildly. See note [1]
* CSS backround PNGs not supported – experimentation revealed I could traverse the Stylesheets collection and use the AlphaImageLoader trick to replace all background-image attributes containing PNGs, but then background-repeat would not work, and anchors placed over non-transparent parts of the image were not clickable :-(
* CSS rules for the PNG images based on the img selector are lost, but this is easily rectified by adding a class selector to your img rule such that img{..} becomes img,.png{..} – then add the attribute class=”png” to each of your PNGs.
http://homepage.ntlworld.com/bobosola/pnginfo.htm

CSS, accesiblidad y los estandares Web todo en un sitio

EL t

El soporte para CSS en los clientes de correo

Buenisimo art

Desarrollo accesible: las herramientas imprescindibles

Mozilla

Web Developer Extension . Lo mejor en mucho tiempo: es una barra de herramientas que permite deshabilitar javascript , hojas de estilo, imágenes…ver el cógido… tiene servicio de validación de CSS, (X)HTML, accesibilidad… Su autor es Chris Pederik y es justo que mires lo que dice él mismo sobre todas las funcionalidades de su Web Developer Extension …..

Continue reading →

La movida de las esquinas redondas

Gracias a http://www.albin.net/CSS/roundedCorners/ por compartir esto

Continue reading →