background preloader

Web Design

Facebook Twitter

Main Page. Category: Tutorials. PHP 101: PHP For the Absolute Beginner. Dive Into Accessibility. Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification. This specification defines Cascading Style Sheets, level 2 revision 1 (CSS 2.1). CSS 2.1 is a style sheet language that allows authors and users to attach style (e.g., fonts and spacing) to structured documents (e.g., HTML documents and XML applications). By separating the presentation style of documents from the content of documents, CSS 2.1 simplifies Web authoring and site maintenance. CSS 2.1 builds on CSS2 [CSS2] which builds on CSS1 [CSS1]. It supports media-specific style sheets so that authors may tailor the presentation of their documents to visual browsers, aural devices, printers, braille devices, handheld devices, etc.

CSS 2.1 corrects a few errors in CSS2 (the most important being a new definition of the height/width of absolutely positioned elements, more influence for HTML's "style" attribute and a new calculation of the 'clip' property), and adds a few highly requested features which have already been widely implemented. The Bark. Installing Tomcat 6 on Snow Leopard — java.fornOObs. Snow Leopard comes with Java 6, so Tomcat installation wasn’t much of a problem. The procedure involved just downloading the Tomcat 6 binaries from the Tomcat download site , I downloaded the tar.gz portion of the Core packages.

The next step steps were to copy the Tomcat package to the home folder (you can put it anywhere you want though, but I like putting the Tomcat installer in home folders for dev purposes), extracting the tar.gz package, then running Tomcat. Once you have downloaded Tomcat 6, you can follow these directions. $ cd ~ $ mkdir progtools $ cd progtools $ cp ~/Downloads/apache-tomcat-6.0.20.tar . $ tar -xzvf apache-tomcat-6.0.20 $ mv apache-tomcat-6.0.20 tomcat6 I just created the progtools directory because this is where I install my programming tools, you can store yours anywhere you like. Testing out Tomcat The startup.sh and shutdown.sh scripts–which are located in tomcat6/bin are the 2 scripts responsible for starting up and shutting down Tomcat. . $ cd ~/progtools. Welcome to SPARC on the Web | San Francisco Patient and Resource Center.

Flexible Scalable Background Image | Journal | Kimili. 20 May 09 UPDATE – This article is now out of date. Please read up on the latest version of this technique over at The Flexible Scalable Background Image, Redux. When I get Photoshop comps from designers to build in HTML, CSS and Javascript, there are inevitably some elements of the designs which work well in the Ivory Tower of Photoshop, but present unique challenges when translating those elements into code a browser can work with. One such element on a project I recently completed featured a fixed size content area layered over background image that took up the entire browser window.

The comp looked something like this: The most striking aspect of the design, I think, is the full-window background image. Fill up the browser window, regardless of the window size. Now, I know this ground has been tread before, but the solutions I came across didn’t fulfill all of the requirements I needed. The Basics Let’s consider my last requirement first: Not be in the HTML as an <img /> element.