background preloader

BEST PRACTICES

Facebook Twitter

Comment perdre du poids (dans le navigateur) How To: Resizeable Background Image. Published by Chris Coyier If you are looking for how to do FULL SCREEN BACKGROUND IMAGE, go here. My friend Richard recently came to me with a simple CSS question: Is there a way to make a background image resizeable? As in, fill the background of a web page edge-to-edge with an image, no matter the size of the browser window. Wow, that's a tall order. Finished Project: What's The Weather? Go ahead and resize your browser window around and notice how the image will resize to fit. First Attempt Well my first thought was that this really needs to be a CSS background-image. You guessed it, jQuery. Second Attempt (better) While the first attempt did a decent job, it failed at the most fundamental level: it wasn't "resizeable". We can, again, use jQuery and the dimensions plugin to get our browser window's width.

In order to get this inline image to behave more like a background image, we can use that unique class we applied to apply some absolute positioning. Third Attempt (best) Float basics. What is a float? When you float an element it becomes a block box. This box can then be shifted to the left or right on the current line. The markup options are "float: left", "float: right" or "float: none". A floated box is laid out according to the normal flow, then taken out of the flow and shifted to the left or right as far as possible.

You can also put several floats beside each other. Where will a floated element move to? Floated boxes will move to the left or right until their outer edge touches the containing block edge or the outer edge of another float. If there isn't enough horizontal room on the current line for the floated box, it will move downward, line by line, until a line has room for it. Example: "float: left" element shifted down Do floated items need a width? You should always set a width on floated items (except if applied directly to an image - which has implicit width). "A floated box must have an explicit width... " Example: "float: left" with no width set. Block et Inline, en CSS et XHTML  Résolution, pixels, points, dpi : un casse-tête insoluble? Ce billet fait suite à une question que je me posais sur la résolution dpi des écrans (notamment la valeur erronée détectée par défaut sous Gnome), qui m’avait amené à effectuer un rapport de bug, tout en pointant du doigt certains problèmes qui surviendraient si Gnome détectait correctement le dpi.

Ce bug est maintenant corrigé dans la nougelle version de Gnome, celle embarquée dans la future Ubuntu 9.04 Jaunty Jackalope. C’est l’occasion de faire le point. Définitions Afin de comprendre les problèmes, il est important de définir chacun des concepts (je limite ici leur définition au cas d’une image numérique affichée sur un écran). pixel Le pixel, abrégé px, est une unité de surface permettant de définir la base d’une image numérique. Point résolution La résolution permet de donner une taille réelle à un pixel. Définition La définition d’une image ou d’un écran est le nombre de pixels qui composent l’image ou que peut afficher un écran. Résolution dpi de l’écran Intérêt du dpi À la main. Getting started with "Getting Things Done". This article was originally posted during the first week of 43 Folders' existence, and, pound for pound, it remains our most popular page on the site.

Please be sure to also visit related pages, browse our GTD topic area, plus, of course you can search on GTD across our family of sites. I’ll be talking a lot here in coming weeks about Getting Things Done, a book by David Allen whose apt subtitle is “The Art of Stress-Free Productivity.” You’ve probably heard about it around the Global Interweb or have been buttonholed by somebody in your office who swears by GTD. (It probably takes a backseat only to the Atkins Diet in terms of the number of enthusiastic evangelists: sorry about that.) Like I did the other day with Quicksilver, I wanted to provide a gentle, geek-centric introduction to Getting Things Done, so that you can think about whether it might be right for you.

The Problem with “stuff” Stuff is bouncing around in our heads and causing untold stress and anxiety. GTD is geek-friendly. 25 To Do Lists to Stay Productive. I come across many services a day while researching for Solution Watch, and as many of you know, I take a lot of notes to organize my thoughts about them. Until recently, the only method that I used to keep organized with the services I wanted to write about was by reviewing my notes and email, then selecting one from the list. Now, I’ve learned to review all my notes at the end of the day and add each service that I would like to review to an organized to do list. The problem I was having was that I would write all these notes, but I wouldn’t always get to writing about the services I wanted because sometimes I simply forgot (A Not-To-Do List) or the service got carried to the bottom of my notes archive. I then started to use a to do list and now I am much more organized and every day open my to do list and get a clear overview of what’s on my plate to review.

All products are clearly listed all with open check-boxes waiting for me to check them off. More Online To Do Lists: To Do Lists. TaskFreak! web based task manager and todo list, project management made easy. Enterprise | TaskFreak! web based task manager and todo list, project management made easy. Ajax. Lancez votre business sur la toile février 28th 2014 De nos jours nombreux sont ceux qui ont des […] Slideshow jQuery performant : SlideMe novembre 8th 2013 Vous recherchez un slideshow performant, moderne et responsive : […] récupération de données avec Ontrack avril 16th 2013 Si cela ne vous est jamais arrivé de perdre […] Pack noël et icons gratuites décembre 20th 2012 Allez c’est bientôt Noël et vous avez surement besoin […] Really Simple Slideshow plugin jQuery août 22nd 2012 Voici Really Simple Slideshow un nouveau venu dans le […] Boosteo création de site Web sur Lyon août 17th 2012 A découvrir sur Lyon, Boosteo vous propose son expérience […] Roudabout carrousel jQuery juillet 16th 2012 Voici aujourd’hui Roundabout petit plugin jQuery surpuissant pour faire […] RefineSlide slideshow 3d jQuery juillet 13th 2012 RefineSlide est un nouveau petit plugin jQuery ultra léger […] Freshy icons jeu d’icones gratuit mai 12th 2012 Voici un nouveau jeu d’icones joliment fait par un […] octobre 31st 2011.

Bret Victor, beast of burden. Perfect Full Page Background?Image. Learn Development at Frontend Masters This post was originally published on August 21, 2009 and is now updated as it has been entirely revised. Both original methods are removed and now replaced by four new methods. The goal here is a background image on a website that covers the entire browser window at all times.

Let’s put some specifics on it: Fills entire page with image, no white spaceScales image as neededRetains image proportions (aspect ratio)Image is centered on pageDoes not cause scrollbarsAs cross-browser compatible as possibleIsn’t some fancy shenanigans like Flash Image above credited to this site. Awesome, Easy, Progressive CSS3 Way We can do this purely through CSS thanks to the background-size property now in CSS3. Works in: Safari 3+Chrome Whatever+IE 9+Opera 10+ (Opera 9.5 supported background-size but not the keywords)Firefox 3.6+ (Firefox 4 supports non-vendor prefixed version) View Demo CSS-Only Technique #1 Big thanks, as usual, to Doug Neiner for this alternate version.

Web Content Accessibility Guidelines (WCAG) 2.0. This publication has been funded in part with Federal funds from the U.S. Department of Education, National Institute on Disability and Rehabilitation Research (NIDRR) under contract number ED05CO0039. The content of this publication does not necessarily reflect the views or policies of the U.S. Department of Education, nor does mention of trade names, commercial products, or organizations imply endorsement by the U.S.

Government. Additional information about participation in the Web Content Accessibility Guidelines Working Group (WCAG WG) can be found on the Working Group home page. Other previously active WCAG WG participants and other contributors to WCAG 2.0. Speed Up Your Web Site Load Time - Design Tips For Faster Pages. Formatting Tips To Speed up Your Website While more and more people are getting access to high speed internet, there are many left on dial up. Be kind to those visitors and do a few, simple things to speed up your webpages. Not only will these tips give you a faster load time, most will also help keep your bandwidth fees low as well! Use CSS For Faster Pages Even if you decide to use tables, CSS can greatly improve your web sites load time!

Use External Scripts Use the same script on multiple pages? That way the browser already has it in it's cache and won't have to read it each time another page loads. Remove Anything You Don't Really Need OK, while this might sound obvious sometimes the hardest thing about creating a website is not using every fancy trick that you know. Embedded sound files are something many people just find annoying anyway. Avoid Nested Tables Avoid Full Page Tables for Faster Rendering If you use tables, try avoiding the whole page being one big table.

Faster Images? Best Practices for Speeding Up Your Web Site. The Exceptional Performance team has identified a number of best practices for making web pages fast. The list includes 35 best practices divided into 7 categories. Minimize HTTP Requests tag: content 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of HTTP requests required to render the page. One way to reduce the number of components in the page is to simplify the page's design. Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single stylesheet. CSS Sprites are the preferred method for reducing the number of image requests. Image maps combine multiple images into a single image.

Inline images use the data: URL scheme to embed the image data in the actual page. Top | discuss this rule tag: server ... <!