Get flash to fully experience Pearltrees
Filed: Sun, Jan 07 2007 under Programming|| Tags: css1 selectors icons css Conditional CSS selectors work only with modern browsers (FireFox 2.0+, Opera 9, and IE7). Of particular note, the techniques described in this article will work with IE7 only if you supply a document type . Your page doesn't necessarily have to validate, it just needs a document type to get IE out of quirksmode . Browsers which can't do conditional selectors simply won't display the icon. -- This note was added after publication. Thanks to CSS selectors it's possible to attach icons to anything you want just by adding an attribute of your choosing to your HTML.
Links are fun, but sometimes we don't know where they take us. With this little CSS technique a user can identify a link by its icon . This whole thing was inspired by the " Showing Hyperlink Cues with CSS " article of Ask the CSS Guy . The idea is pretty simple, if a link points to a .pdf file, we show the .pdf icon after the link.
CSS is important. And it is being used more and more often. Cascading Style Sheets offer many advantages you don’t have in table-layouts – and first of all a strict separation between layout, or design of the page, and the information, presented on the page. Thus the design of pages can be easily changed, just replacing a css-file with another one.
This is the first in a series of articles describing experiments conducted to learn more about optimizing web page performance. You may be wondering why you’re reading a performance article on the YUI Blog. It turns out that most of web page performance is affected by front-end engineering, that is, the user interface design and development. It’s no secret that users prefer faster web sites. I work in a dedicated team focused on quantifying and improving the performance of Yahoo! products worldwide.
In Web 2.0 registration and feedback forms can be found everywhere. Every start-up tries to attract visitors’ attention, so web-forms are becoming more and more important for the success of any company. In the end, exactly those web-forms are responsible for the first contact with potential customers. Let’s take a look, which modern solutions a web-developer can use, designing his/her next css-based form. Links checked: May/08 2008 .
Recently, while trying to implement a few different navigation ideas that a designer had thrown my way, I became frustrated with my weak image editing skills. The design was gradient-heavy, so a traditional approach to navigation markup and styling would require a dozen or so background-image slices to meet the varying colors and height requirements. After spending a mortifying amount of time creating the images—I’m a programmer by trade, so anything more complicated than MS Paint gives me the willies—I had to take a step back and figure out a better way. What if, after finishing, I needed to tweak the height?
by Trenton Moss Cascading Style Sheets are the foundation on which many of the best websites are built. Using CSS allows developers to describe the common style for the website, in terms of colours, fonts and layouts. In this tutorial, Trenton Moss of Webcredible shares some of his top tips to help you get the most from your CSS.
CSS drop shadow Technique to build flexible CSS drop shadows applied to arbitrary block elements. Most of the existing techniques for creating element shadows use images, this one doesn’t.
1. CSS font shorthand rule When styling fonts with CSS you may be doing this: font-weight: bold; font-style: italic; font-variant: small-caps; font-size: 1em; line-height: 1.5em; font-family: verdana,sans-serif There's no need though as you can use this CSS shorthand property: font: bold italic small-caps 1em/1.5em verdana,sans-serif
Updates * Yahoo! Widget - thanks Scott ! * Back page button
All templates are XHTML 1.0 and CSS2. Basic CSS Templates 2 columns fixed centered 3 columns fixed centered
Look Ma, No Tables. If you are looking for help making the transition to CSS layout (that's Cascading Style Sheets), you've come daodkwoakdoakdoawdkoadkowdkto the right place. I am cataloging here as many useful cross-browser CSS layout techniques as I can find, and some that I made up when I was bored last Thursday. All the examples on this site have been reduced to only their essential code, and you will find the source displayed on each page to hopefully make it quick and easy to understand the inner workings of the CSS. Feel free to steal all the code you find on this site , and consider linking back here on your site or in your source comments.
Background One of the arguments for using frames has always been that they allow you to keep parts of the layout on-screen at all times. This can be emulated with CSS, as described here. This results in much better usability than normal frames, but there are still some potential problems you need to be aware of. For a longer discussion on frames and usability, read my article Who framed the web: Frames and usability .