Guest Post: Blue Flavor Header Design TechniqueThe following post is a guest post by authored by Jermayn Parker of GermWorks, a web and multimedia blog. Headers are an important factor in web design, they can either make or break a design. Since web 2.0, we … | October 16, 2007 | 3 comments |
Links of InterestJared Schwager has an interesting idea on compressing CSS on-the-fly using PHP. Works pretty well. The end result is slightly quicker downloads and slightly quicker render times with a slightly higher burden on the server. Fadtastic has a nice roundup … | October 15, 2007 | 2 comments |
Fluid Width and Floating Object PossibilitiesThe typical technique for making a fluid width layout is to have your main content have a minimum and maximum width and then make sure it is working in all browsers with various techniques. Another way is to give elements … | October 14, 2007 | 4 comments |
The Perfect Fluid Width LayoutI’ve been thinking a lot about screen resolution lately and how the use of fluid width websites is the best way to accommodate all visitors screen resolutions. The alternative, static width websites, have to make a choice. You can optimize … | October 11, 2007 | 71 comments |
Links of InterestPolishing your website. Nice overview about the subtleties and details of web design and how those details are what makes great websites. Honeypot Captcha. It’s like the Un-Captcha. Basically you hide the captcha with CSS. Bots see it, Humans … | October 10, 2007 | 0 comments |
Subtle Animations of Page Elements Using GIFsI really like it when pages use really subtle animation to enhance different page elements. Check out the E-Junkie site and their little flame dude in the stamp as their logo. Every once in a while he blinks and it’s … | October 10, 2007 | 5 comments |
CSS3 Idea: Rotation of Page ElementsThere is discussion about making rotation part of the CSS3. Here are some important points: There are two types of rotation: rotation that happens during layout (and pushes aside content below it), and rotation that happens after layout. width: auto… | October 9, 2007 | 6 comments |
Reviews of Mac CSS EditorsThere is some very nice software out there for creating and editing CSS files. Since I’m mostly a Mac guy, this review is Mac focused, but I would love to hear about Windows CSS editors if anyone has anything to … | October 8, 2007 | 12 comments |
Amazon.com Redesign, Sticks with TablesAmazon.com has been flogged a few times for it’s weird use of “tabs” in it’s design that don’t really act like tabs. Well now we can start flogging it for all new reasons. They have gone with a really busy, … | October 7, 2007 | 11 comments |
Internet Explorer Voodoo DollI found this hilarious IE Voodoo Doll over on Deviant Art. What an awesome way to take out your aggression! You can’t buy them of course (copyrights…), but there is talk of a tutorial. Hopefully this will help some … | October 7, 2007 | 2 comments |
Remember The Order of Margin/Padding Shorthand with TROUBLERecently I posted about a little trick about remembering the css anchor selectors. Now I have another little trick that is even more useful, using the word TROUBLE to remember the order of padding/margin amounts in CSS shorthand. The … | October 6, 2007 | 8 comments |
When to use JPG and When to use GIFLike many of you, I spend a fair bit of time saving out graphics for use on the web. So when I’m browsing around the web, just by second nature I spot optimization mistakes. Kind of like how a typesetter … | October 5, 2007 | 20 comments |
Grabbing Hex Codes for ColorsDefining colors in CSS is all about Hex Codes. You know, those alphanumeric six-digit things like #990000. You might have a handful of them memorized. Like that one I just mentioned is a nice dark red. #cccccc is a … | October 4, 2007 | 6 comments |
Beginner CSS Tips For Your BlogFor many people, their introduction to web design and the wonderful world of CSS is through blogging. They start off blogging because it’s so easy and you don’t need to know anything at all about design. Soon after, the desire … | October 3, 2007 | 4 comments |
Tag Cloud with Varied Padding Thickness | October 3, 2007 | 4 comments |
Submit With StyleThis is how you create a super basic submit button:
All you need to do to replace this default button with an image is to change the type to image and then declare a source image … | October 2, 2007 | 5 comments |
Better Blockquotes with CSSBlockquotes are HTML elements that are meant to designate when a particular section of text is being taken from another website or other source. Different browsers have different built-in styling for blockquotes, often just a simple left margin. If you … | October 1, 2007 | 13 comments |
* { margin: 0; padding: 0; } No Longer CoolOne the techniques I have advocated using for a long time is this:
This is part of the “CSS Reset” theory which helps keep your designs consistent across browsers, a very good thing. … | September 30, 2007 | 8 comments |
10 Beautiful and Functional BLUE Web LayoutsSometimes the best way to get inspired to design is to look at other great designs. These designs showcase beauty and function over flashiness. There are some amazing and flashy designs out there where I love the design but … | September 28, 2007 | 2 comments |
List of Deprecated Attributes Still in Widespread UseA “deprecated” element is an element the W3C has designated as outdated. These elements should not be used and are generally considered to be “bad code”. If you use a STRICT DOCTYPE, deprecated elements will not pass validation. The thing … | September 27, 2007 | 11 comments |
“Real World” Web Design Still Needs to Accomodate 800×600Check out the statistics for the screen resolutions of all you hip kids who read CSS-Tricks: On this site, 800×600 doesn’t even make the top ten. Knowing that, I designed this site to make use of that extra pixel … | September 26, 2007 | 15 comments |
How To Remember The Order of Selectors: LOVE and HATEI read a comment the other day over on CSS Drive from someone named Slackerbabe that I thought was worth repeating. Heres a cool way to remember the order of the four selectors, “LVHA (link visited hover active)”,…. Just think … | September 25, 2007 | 6 comments |
Creating a Nice TextareaA textarea is an element on a webpage that you can type into. These are commonly used as commenting areas, contact forms or address entry areas. All browsers have defaults styles for textareas which vary. You can take control of … | September 24, 2007 | 17 comments |
CSS Page Loader ExampleReader Delang was having trouble with the CSS Page Loader concept I posted a while ago. So I went and made up an example page. It’s very simple, and it just “fakes” actually loading something. As in, it’s not … | September 23, 2007 | 6 comments |
Resizing YouTube Videos with a simple URL hackSomeone over at Digital Inspiration asked the question: “How can I send a YouTube Video so that when the person receives it there will not be any other videos in the sidebars that can be opened.” There is an awesome … | September 21, 2007 | 2 comments |
Links of InterestNew minimalism in web interface design You.. and me… and CSS simultaneous Quick web typography tip: Give your <p> elements bottom margin. ModalBox: easily the nicest download-modify-use … | September 20, 2007 | 2 comments |
A Grunge Style CSS Menu (Free Download)Grunge is a popular style these days. I thought I’d throw out there a fairly simple “grungy” menu for free download. Feel free to download, alter, and use however you want. | September 20, 2007 | 3 comments |
A Fresh Look for CSS-TricksWelcome to the new look for CSS-Tricks. I decided it was time to get down to it and give CSS-Tricks a brand new look. I hope you like it. I think it’s far nicer in both form and function than … | September 19, 2007 | 10 comments |
A Non-Annoying a:visited TechniqueAs you may know, you can define a style for a:visited in your CSS, which will apply itself to links in visitors browsers that they have already visited. The usefulness of this is debatable, but no matter what, it’s best … | September 19, 2007 | 12 comments |
Set up “Variables” for Colors in CSSI say “variable” because CSS doesn’t natively support real variables. The debate is somewhat heated on whether it should or not. I’m not going to take a stand on that one, but there is a clever little hack bouncing around … | September 18, 2007 | 1 comment |
The Best of CSS-Tricks Tutorials: Ten Free Downloadable Examples!Welcome to CSS-Tricks! We’ve been busy trying to bring you tips, techniques, and tutorials about using Cascading Style Sheets. Along the way, we’ve written up a number of example pages showcasing various techniques. If you are new here, here is … | September 17, 2007 | 9 comments |
BlogRush: Hip or Hype?It’s a bit too early to tell, but as you may have noticed, I’ve installed it in the sidebar of this site. My hope is that it turns out to be an awesome service for both readers and webmasters alike. … | September 16, 2007 | 4 comments |
Single-Line vrs. Multi-Line CSSSteve Smith over at Ordered List has an interesting article up about how he chooses to format his CSS. Basically there are two ways to go about it, Single-Line and Multi-Line, with Multi-Line being the classic approach:
| September 15, 2007 | 4 comments |
An Exploding CSS MenuBy exploding, I sort of mean “the menu blocks appear to expand vertically”, but you get the idea. The theory is that upon rollover, you can change the height and offset of an element (or width or any number of … | September 13, 2007 | 2 comments |
CSSJuice.com Guest PostHey ya’ll, I have a guest post up over at CSSJuice.com explaining how to set up user-selectable stylesheets. Check it out!… | September 12, 2007 | 2 comments |
Apple iTunes-Like CSS MenuDeveloper Mark Alldritt posted a pretty nice bit of code (XCode project) for making nice Apple-Like menus in applications. I thought I would try to replicate this same idea with CSS. It worked out fairly well, check out the screenshot:… | September 10, 2007 | 3 comments |
Tag Cloudish Crazy CSS MenuOK, this is a little cheezy, but it’s just intended to be an example of something you can do with CSS. Certainly this could be adapted in any number of different ways to achieve cooler effects. The theory here is … | September 9, 2007 | 2 comments |
Learning CSS/HTML, Start with Static or Dynamic?The Graphic Design Blog asks an interesting question about advice for beginners on learning CSS/HTML: Should newbies learn static or dynamic web design? The obvious conclusion would be ‘you gotta learn to walk before you can run’, but this … | September 7, 2007 | 6 comments |
CSS Page LoaderIf you have certain pages on your website that take some time to load, you may want to consider a page loader. A page loader is any kind of animation that visually communicates to a visitor that the page is … | September 6, 2007 | 12 comments |
Un-bloat CSS by using multiple classesLet’s say you need six different 100px square boxes with different characteristics:
You COULD create a unique class for each of these, … | September 4, 2007 | 6 comments |
CSS Beginner Mistakes: “Divitus”, Absolute PostioningThere is an article over at Search-This that points out a couple of beginner mistakes that are pretty interesting. Here are some highlights and some of our own:
… | September 2, 2007 | 3 comments |
Validate your CSS through W3CJust like you can validate your HTML at the W3C, you can validate your CSS. | August 31, 2007 | 0 comments |
Font Rendering Differences: Firefox vs. IE vs. SafariYou can get pretty specific when declaring how you want text to look with CSS:
| August 29, 2007 | 14 comments |
Create Your Logo with Pure CSSDan Cole has an interesting article up about creating a logo using only CSS. Why?
Here is what it looks like: Here is how it was done:
| August 27, 2007 | 4 comments |
Totally Ridiculous: CSS MySpace ModificationsThis is old news, but is worth of revisiting because of it’s preposterousness. You are able to add CSS to your MySpace pages. Cool. But where do you do that? Is there some little fun CSS editor they built in? … | August 24, 2007 | 0 comments |
CSS Trick: Fade Out the Bottom of Pages with a Fixed Position ImageI really like this subtle effect on the fortuito.us blog. the text at the bottom of the page fades away. Even as you scroll the page content up and down, it appears as if it fades away into the … | August 23, 2007 | 13 comments |
Put Images in All Four Corners with CSS PositioningIt can be a mighty cool effect to have images that nestle themselves in the four corners of your webpage. You can achieve this positioning with CSS fairly easily without affecting any of your other page content. You may also … | August 22, 2007 | 0 comments |
Spice Up Embedded YouTube Videos with Background CSSIf you are adding video to your website, using embedded YouTube videos is definitely something to consider. In addition to saving hugely on bandwidth, releasing your video into the wild on YouTube might gain you some exposure you may have … | August 21, 2007 | 6 comments |
HangTab: Create a Sticky Tag from the Edge of the Browser Window (Even with Centered Content)It is a very healthy technique these days to center your entire website horizontally in the browser window (but be careful), especially nowdays with monitors getting bigger and bigger and with higher resolution. Sometimes it’s nice to break the … | August 20, 2007 | 4 comments |
Using Pure CSS for Flipbook Style AnimationThere is a great tutorial on CSS Play that uses pure CSS to create flipbook style animation. The theory at work here is that there is there is a big stack of “slides” stacked on top of each other. On … | August 17, 2007 | 0 comments |