CSStricks RSS-feed
CSS has a value for the display attribute called run-in. It’s like this: h3 { display: run-in; } The point is to allow a header to run into text below it, without sacrificing semantics or running into the problems you might run into trying to force it with other layout techniques. Let’s take a closer [...]
Posted on 29 July 2010 | 12:52 pm
Source: CSS-Tricks
Interviewed on Unmatched Style Podcast
The crew from Unmatched Style are the folks that run ConvergeSE which I was lucky enough to attend this year. They are really great folks! While I was down there, I was interviewed by Gene for their podcast. Thanks to Gene for having me! I really recommend to everyone to check out Unmatched Style. A [...]
Posted on 28 July 2010 | 12:52 pm
Source: CSS-Tricks
Dude, you browse with JavaScript on?
Dude, you browse with JavaScript on? Uhm, yeah, why wouldn’t I? It’s totally insecure. Hackers could destroy your computer. Hackers? What is this 1995? And, no they can’t. They can definitely steal information about you without you knowing. Like what? Like you’re address book information or your browsing history, depending on your browser and settings. [...]
Posted on 26 July 2010 | 1:24 pm
Source: CSS-Tricks
New Screencast: Simple TextMate Tips
TextMate is a mac-only code editor. Sorry to all the PC users this time around. If you’ve been watching these screencasts for a long time, you know I used to mostly use Coda. Since I’ve been working a lot more locally, I’ve been using much more TextMate, which I’ve always considered to be superior as [...]
Posted on 22 July 2010 | 7:10 am
Source: CSS-Tricks
The new CSS3 property border-image is a little tricky, but it can allow you to create flexible boxes with custom borders (or drop shadows, if that’s your thing) with a single div and a single image. In this article I explain how the border-image shorthand property works in today’s browsers. The basic idea The border-image [...]
Posted on 21 July 2010 | 1:40 pm
Source: CSS-Tricks
Local Previews of Images from File Inputs (fail)
A little while back there was a guest post about Ajax image previews. It’s a nice technique but it left myself and a few other commenters thinking: wouldn’t it be cool if you didn’t have to upload the image at all to preview it? After all, the image is on the persons computer already why [...]
Posted on 19 July 2010 | 1:12 pm
Source: CSS-Tricks
Oh, <textarea>’s. How many quirks you posses. Here is a collection of nine things you might want to do related to textareas. Enjoy. 1. Image as textarea background, disappears when text is entered. You can add a background-image to a textarea like you can any other element. In this case, the image is a friendly [...]
Posted on 16 July 2010 | 1:03 pm
Source: CSS-Tricks
Tips for Web Design that Crosses Cultures
The internet has the potential to put a global audience at your fingertips, but there’s far more to reaching across cultural divides than simply putting your website out there and waiting for people to visit it. There are issues to do with language, design and SEO that all need to be addressed before your website [...]
Posted on 14 July 2010 | 1:25 pm
Source: CSS-Tricks
Google Maps has a JavaScript API now in it’s third version. I remember playing with some version of the API back in v2 and thought it was kinda cool but a bit obtuse. For one thing, v3 no longer requires applying for an API key which is nice. I’m sure it’s partly me getting better [...]
Posted on 12 July 2010 | 9:30 pm
Source: CSS-Tricks
The difference between ‘return false;’ and ‘e.preventDefault();’
Have you ever seen those two things (in the title) being used in jQuery? Here is a simple example: $("a").click(function() { $("body").append($(this).attr("href")); return false; } That code would append the href attribute as text to the body every time a link was clicked but not actually go to that link. The return false; part of [...]
Posted on 9 July 2010 | 2:33 am
Source: CSS-Tricks






