background preloader

.htaccess Tutorial

.htaccess Tutorial
Introduction In this tutorial you will find out about the .htaccess file and the power it has to improve your website. Although .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the most popular being able to have your own custom 404 error pages. .htaccess isn't difficult to use and is really just made up of a few simple instructions in a text file. Will My Host Support It? This is probably the hardest question to give a simple answer to. A good sign of whether your host allows .htaccess files is if they support password protection of folders. What Can I Do? You may be wondering what .htaccess can do, or you may have read about some of its uses but don't realise how many things you can actually do with it. Creating A .htaccess File Creating a .htaccess file may cause you a few problems. Warning Before beginning using .htaccess, I should give you one warning. Custom Error Pages Part 2 © 1999 - 2001 David Gowans

List of colors The following is a list of colors. A number of the color swatches below are taken from domain-specific naming schemes such as X11 or HTML4. RGB values are given for each swatch because such standards are defined in terms of the sRGB color space. It is not possible to accurately convert many of these swatches to CMYK values because of the differing gamuts of the two spaces, but the color management systems built into operating systems and image editing software attempt such conversions as accurately as possible. The HSV (hue, saturation, value) color space values, also known as HSB (hue, saturation, brightness), and the hex triplets (for HTML web colors) are also given in the following table. Colors in alphabetical order A-F[edit] For the continuation of the list of colors, please go to List of colors: G-M#Colors. Colors by shade[edit] White[edit] Gray/Grey[edit] Achromatic grays are colors between black and white with no hue. Pink[edit] Red[edit] Main articles: Red and Variations of red Sources

Lorenzo Duran L’artista spagnolo Lorenzo Duran si avvale delle foglie come tela per le sue incisioni. Dopo il lavaggio e l’essiccazione, rimuove con precisione chirurgica ed estrema cura i segmenti in eccesso, usando una tecnica simile a quella del tradizionale paper cutting. Quest’ultimo passo è ovviamente il più difficile vista la fragilità del materiale scelto, il risultatò di questo processo è una serie di affascinanti disegni geometrici incredibilmente belli e dilicati. Grazie a Francesca per il suggerimento. via: illusion.scene360.com

Wildly useful free Web development programs | C82: Words of Nicholas Rougeux There are probably tens if not hundreds of thousands of programs out there for almost anything you can imagine and a small portion of those are geared solely toward Web development but they're not all top notch. Now, when I refer to Web development, I mean all sides of it including graphics, coding, and everything else. Sure, there are the usual players like the Adobe/Macromedia products but what I enjoy the most are the small free programs that someone made in their free time and decided to release to the world in case anyone else might need them. I've been involved in Web development since 2000 but not seriously and professionally until a little over a year ago. I should mention that most of the programs I'll be covering here will, as far as I know, work on machines running Windows. Firefox Before the groaning starts, anyone who's a Web developer knows that this is an essential tool. Web developer toolbar MeasureIt Multiple IE versions WinKey ColorPad Regex Coach PowerToy Calc Notepad++

22 Very Useful Adobe Illustrator Tutorials | Tutorials 351 shares 30 Flat Circular Vector Icons It can be difficult to find exactly the right type of free icons online – but this iconset is sure to fill the gap. This freebie pack includes 30 flat vector icons created with Adobe Illustrator. Each flat icon is inside a circular background with a drop shadow effect. Read More 2124 shares Adobe Illustrator CS6 Shortcuts Cheat Sheet Illustrator is a very important tool for designers and creative professionals. The mind is not contained to the cranium. It’s province is of the infinite imaginative spirit External Stimuli : Jung-Yeo Min Related Stimuli : MARS 1 Mike Davidson - Make Your Site Mobile-Friendly in Two Minutes After checking out B. Adam Howell’s excellent IYHY.com site a couple of weeks ago, I thought it might be a good idea to write a little tutorial about how to make your entire site more mobile-friendly without even touching your pages. You may think that since you write valid code and separate structure from presentation at all times, your site already works great on mobile devices. You may also think bad things don’t happen to good people. The fact of the matter is that the state of HTML rendering in the wireless world is all over the map right now. What’s really needed until HTML/CSS/JS support is improved in mobile devices is a little server-side filtering. And you know what? Four easy steps Outlined below are the four steps to get this done in a matter of minutes, provided you are in an Apache environment and can run PHP. Step 1: Set up a domain mirror If your site lives at www.myawesomeblog.com , you’re going to want to set up a subdomain at mobile.myawesomeblog.com . <br /> <?

A hundred of REALLY high quality free design elements and where to find them Finding quality resources these days has become a task worthy of an Indiana Jones movie, where you have to avoid dozens of faux websites filled with ugly design elements, broken links and enormous amounts of advertising. The main search engines have lost a lot of their capacity to aid designers fulfill their needs and that’s why WebDesignShock has decided to give you a hand by listing the main websites where you can always find top quality design sources at no cost. We have also included a small roundup featuring our favorite resources from these websites that can truly be helpful for any graphic or web designer. ThemeShock Although it’s still young, this website has already brought an enormous showcase of high end resources for designers, including web templates, buttons, backgrounds and more. Besides offering high quality design freebies, ThemeShock also has a vast catalog of premium themes and design sets that you can acquire at a reasonable prize. Ribbons pack free PSD Premium Pixels

Sintel: 3D art technology - 3D Graphics Now, it is the Year of Dragon. Traditionally, it is an important and successful year, the year of battles and victories. Previous 2011 passed as the typical one. A devil is hidden in the details. So, let us get started! The plot begins with a battle scene on the territory of dragon’s earth. Let us return to the scene. We will be surprised when viewing the older versions of this scene of action: there were three guards instead of one. Here they are: from left to right are Smith, Lao Tseu and Dark. Let us get back to the story. Here is a new scene. (It is image resolution of 4096x1744). It clearly shows the effect of subsurface scattering, which is seen on the glowing fingers from the fire. Here is a little bit about the Sintel. Sintel’s narrative takes us back to her hometown on a day when she met a dragon. What is worth paying attention? Dragon’s wing is damaged, and a fluid simulator according to the Navier-Stokes equation calculates the motion of the blood droplets. Speaking of birds.

HowTo: Drupal 7 Sub-Theme Creation, Step-by-Step | Open Source CMS Pro Sub-themes rock. Learn how to use this theming technique and your life — at least your Drupal theme related life — will improve markedly. Sub-themes make it possible for you to customize existing Drupal themes without hacking the code of the original theme, and they make the creation of new themes simpler by letting you start with a base theme and build on it, thereby saving you valuable time and avoiding the need to re-invent the wheel. But perhaps I am getting ahead of myself — for those of you who are new the Drupal, the concept of sub-themes may not be familiar, so, let’s take one step back and start at the beginning: A sub-theme is simply a theme that is based on another theme. For two reasons: First, sub-themes inherit properties from the original theme (commonly known as the “base theme”). If that’s not immediately clear to you, think of it this way: The steps involved in creating a new sub-theme go like this: Make a copy of the base theme directory & its contents Update the file

How To Use @font-face In CSS And 21 Great Typefaces The 2 most popular typefaces used on the web today are surely Verdana and Georgia. They’re great and I used them all the time since they’re web-safe fonts. I use them mostly because I’m not a big fan of flash replacement techniques or solutions that require Javascript (sIFR, Cufon, etc…). But what about the @font-face CSS property? While @font-face may not work in all browsers, I think it’s still one of the best solution available today. The @font-face CSS Property Before you can start using those typefaces on your site you need to declare the font file(s) in your CSS file along with the font-weight and font-style if available. Then you can call the font via the font-familly property. Also be sure to check out the ‘further resources‘ section at the bottom of this post for more infos, especially on how to get @font-face to work in IE using EOT font files. Some Typefaces You Can Use With @font-face Graublau Sans Web ↓ Fertigo Pro Regular ↓ Tallys ↓ Diavlo ↓ Fontin ↓ Fontin Sans ↓ Pykes Peak Zero ↓

Advertisements from 40s to 80s Advertising changed a lot over time. Here is a selection of advertisements from the 40s to the 80s. Share Write a well structured CSS file without becoming crazy Big CSS files can be complex to manage but a good structured code can help you to make your life simpler. This is a descriptive post about how to write a well structured CSS file. I already spoken about code readability in CSS files, but after several most specific requests about this argument (mainly about the difficult of some readers to manage CSS file with a big quantity of layout elements), I decided to illustrate the process I use in these cases. I experienced, proceeding without "order" or a clear vision about what you want to realize can be harmful and you risk to add, change, remove classes and properties, with the only result to have untidy code with a lot of unused elements on your final product. 1. Be simple Avoid everyting is not strictly necessary. Be "elegant-code" oriented Indent your code to highlight dependencies between CSS elements, use white spaces and comments to separate portions of code logically different. Before start coding ask you: where do you want to go?

The Shapes of CSS Learn Development at Frontend Masters CSS is capable of making all sorts of shapes. Squares and rectangles are easy, as they are the natural shapes of the web. Add a width and height and you have the exact size rectangle you need. Add border-radius and you can round that shape, and enough of it you can turn those rectangles into circles and ovals. We also get the ::before and ::after pseudo elements in CSS, which give us the potential of two more shapes we can add to the original element. Square Rectangle Circle Oval Triangle Up Triangle Down Triangle Left Triangle Right Triangle Top Left Triangle Top Right Triangle Bottom Left Triangle Bottom Right Curved Tail Arrow via Ando Razafimandimby Trapezoid Parallelogram Star (6-points) Star (5-points) via Kit MacAllister Pentagon Hexagon Octagon Heart via Nicolas Gallagher Infinity via Nicolas Gallagher Diamond Square via Joseph Silber Diamond Shield via Joseph Silber Diamond Narrow via Joseph Silber Cut Diamond via Alexander Futekov Egg Pac-Man Talk Bubble TV Screen Lock

Related: