background preloader

Css

Facebook Twitter

Templates

Webdesign. Typography. Alternative Style: Working With Alternat. How To Create a Pure CSS Polaroid Photo Gallery. Magical things can be done by combining various CSS properties, especially when some of the new CSS3 tricks are thrown into the mix.

How To Create a Pure CSS Polaroid Photo Gallery

Let’s take a look at building a cool looking stack of Polaroid photos with pure CSS styling. View the Demo Check out the demo to see what we’ll be building. Remember, because we’ll be using a couple of CSS3 properties, users with IE won’t see the complete effect, but fully supporting browsers such as Firefox and Safari will be treated to the whole experience. We’ll use basic CSS to style up the photos into a Polaroid style images, then inject some additional styling with shadows and rotation, then use the z-index property to alter the stacking order of all the objects.

The CSS Overflow Property. Every single element on a page is a rectangular box.

The CSS Overflow Property

The sizing, positioning, and behavior of these boxes can all be controlled via CSS. By behavior, I mean how the box handles it when the content inside and around it changes. For example, if you don't set the height of a box, the height of that box will grow as large as it needs to be to accommodate the content. But what happens when you do set a specific height or width on a box, and the content inside cannot fit? That is where the CSS overflow property comes in, allowing you to specify how you would like that handled.

There are four values for the overflow property: visible (default), hidden, scroll, and auto. CSS Layout - 100% height. Min-height The #container element of this page has a min-height of 100%.

CSS Layout - 100% height

That way, if the content requires more height than the viewport provides, the height of #content forces #container to become longer as well. Possible columns in #content can then be visualised with a background image on #container; divs are not table cells, and you don't need (or want) the fysical elements to create such a visual effect. If you're not yet convinced; think wobbly lines and gradients instead of straight lines and simple color schemes. Relative positioning Because #container has a relative position, #footer will always remain at its bottom; since the min-height mentioned above does not prevent #container from scaling, this will work even if (or rather especially when) #content forces #container to become longer. Padding-bottom. Ie7-js - IE7.js is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser.

ie7-js -

It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6. Current version: 2.1 beta4. IE7.js. Mastering CSS background-position. Hi there guys!

Mastering CSS background-position

As you may know, we have published a lot of tutorials to learn how to improve the interaction of our web applications mainly using javascript and jQuery. We have created our layouts for these tutorials using xHTML and CSS and this time the CSS part will be the important thing and not a simple spectator. We will learn how to use the CSS property background-position to create different kind of buttons, interfaces and more by using only one image as background. It will reduce the loading time and supress the user’s waiting on mouse over effects. As always, you can try the living example over here. Tested in: Firefox, Internet Explorer 6 & 7, Opera, Safari & Chrome. PHP: Style Changer - Mike’s Experiments. The is the raw data output by the script.

PHP: Style Changer - Mike’s Experiments

It is these variables that, if properly employed, will alter the CSS import statement to grab the user’s preferred style sheet. Assuming, of course, cookies are allowed. Check it out: Cookie: GimmeStyle Status: Accepted Style: Default Style Path: styles/ File: default.css. 53 CSS-Techniques You Couldn't Live Without. CSS is important.

53 CSS-Techniques You Couldn't Live Without

And it is being used more and more often. Hovering iframe. Creating Themes for Movable Type. Movable Type is an extremely flexible content management tool.

Creating Themes for Movable Type

MT can publish content in many different formats, using any kind of text- based markup. Creating themes for Movable Type can be accomplished in a variety of methods based upon the markup of the templates. In this article we'll focus on html markup with css formatting. The methods in this article assume that you are using one of the Default Template Sets from MT4, but these methods work equally well for other template sets.

Here's a glossary of terms that I'll use in this article: Template - A text file typically containing MTML (Movable Type Markup Language) which outputs content from MT that is marked up with HTML, XML, JavaScript, or other languages. Methods of Creating a Theme. 50+ Nice Clean CSS Tab-Based Navigation Scripts. Tab navigation has been one of the most fundamental element in any modern web structure.

50+ Nice Clean CSS Tab-Based Navigation Scripts

In order to make sure visitors can properly navigate through the website. One of the biggest challenge web designers and developers faced is to integrate a simple and nice tab navigation that not only don’t confuse, but helps visitors easily understand where they should be clicking. Whether you are running a website or blog, tab navigation is probably one of the element that helps drives traffic to internal pages.

Here we’ve compiled a mass list of 50+ nice clean and sleek CSS Tab-Based navigation samples you can adapt on your site. Full list after jump.