background preloader

CSS

Facebook Twitter

Sequential CSS Link Color Rotation. Introduction Here at Particletree, we’re using very simple (but nice) php and css action to sequentially change the link colors of each post in the notebook section on the front page . The best thing about our method is the fact that we’re doing this without having to put a script inside the css file, which would result in losing the advantage of all that nice browser caching. Here’s the secret. One css technique I’ve seen a lot of people forget about is the fact that you can attribute more than one class to any element in an html document. For example, if you have in your CSS the following rules: You can assign a div (or whatever element of your choosing) both css rules by separating them with a space like so: This div will now inherit both the .article properties and the .red properties.

Next copy the following php code into the header (or anywhere before the color cycling will begin) of your html docment. $colorArray=array('red', 'green', 'yellow'); You’ll write: article"> Thanks Ryan. Firebug. CSS Horizontal Menu || CSSMenuMaker.com. If you are looking for a CSS horizontal menu then you have come to the right place. CSS Menu Maker provides a ton CSS menus that are 100% cross-browser compliant and 100% CSS. No javascript or browser hacks are used with any of our menus. If you are a novice web developer please try using our Menu Maker. To get started just find a CSS horizontal menu that you like and then click ‘Customize’. With our CSS Menu Maker you can can customize the structure and look of your css menu. Once you have built your menu you can download all the code, CSS, and images in one nice, neat zip file. If you are comfortable with the source code then feel free to download any of our CSS horizontal menus and tweak as much as you want.

If you have any questions on how you can use our css menus please take a look at our Terms of Use. Useful Free Web UI Elements PSD Packs | chethstudios Design Magazine. Everyone Likes Freebies, and when those freebies saves you a lot of time they surely become priceless and worth a mention, and we are here with a neat and useful roundup of all the web UI Elements every designer/web developer must download. Nothing more useful than saving some time which you were going to spend designing these. Need more? Check out other GUI and PSD freebies. Know of any other freebies?

Share it with our readers in the comments section. Related Posts:Roundup of Best Free Smart Phones GUI PSD Packs80+ Free PSD Web UI Elements For Download80+ Free Editable PSD Website Templates Massive Web UI, Button Set WEB UI Treasure Chest v 1.0 Webdesigner Toolkit Free PSD: Checkbox Replacement Free Web UI Wireframe Kit Wireframe Symbols Sketching & Wireframing kit Facebook GUI free PSD resource Facebook Applications Flex Darkskin PSD UI Scalable calendar Free Web UI Element Pack Flex 3 Stencil Modern Web UI Set. Dive Into HTML5. CSS Tinderbox: Free CSS-Based Templates. WordPress Tinder A small collection of very simple WordPress template frames that can be easily customized and adpated to suit your needs. They’re built for WordPress 3.8 or later and set up to use widgets in multiple locations. CSST Simple Orange Another three column design but with the “heavy” column to the left and the other two narrow columns on the right.

If orange is your thing, check it out. Screenshot / Download Zip CSST Simple Red To be totally honest, this one looks a hell of a lot like Simple Orange but with a cherry flavor though. Screenshot / Download Zip Installing A Template To install one of these WordPress templates: 1. 2. 3. As with any WordPress template, you’ll more than likely need to adjust the styles a bit to mesh with your current settings. (NOTE: Web geek tested and approved in Firefox 3.0 (Win), Firefox 2.0 (Mac), IE7 (Win), Opera 9.6 (Win), Safari 3.2 (Mac). Fixed-Width Templates Centered Box 1-Column 1-Column (2) 3-Over-4 Columns 3-Column 4-Column Now we’re talking! 2-Column. How to Centre and Layout Pages Without a Wrapper. The number one suggestion I see from the proprietor of html5gallery.com to submitters is not to use the “<section>” element as a glorified “<div id="wrapper">”.

Here, I shall demonstrate that “<body>” is already a wrapper and can be hacked to achieve some pretty remarkable layout and clean code! Let me just repeat that. The body element is already a wrapper. It can have a height, width, border, drop-shadow; you name it. (Note that <html>, <head> and even <body> are optional in HTML!) Now let’s add a background colour. How odd. Simply add a background to the HTML element! But why doesn’t the body stretch the full height of the browser window? Here we have forced the HTML element to be 100%. We use min-height: 100%; because in browsers other than Internet Explorer, content that is longer than the fixed height of an element just spills over the edge. min-height ensures that the body is at least 100% high, but expands for content longer than that. The shadow is done using a CSS box-shadow.