CSS has a value for the display attribute called run-in. It allows 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…
Archive for July, 2010
-
CSS Run-in Display Value
Posted: 2 years ago in Tutorials
Read More: CSS Run-in Display Value
-
10 Awesome CSS3 Buttons
Posted: 2 years ago in Code
10 awesome and beautiful buttons with CSS3 for you! There are buttons for every kind of website and I think that you will love them! Feel free to use them everywhere…
Read More: 10 Awesome CSS3 Buttons
-
Word-Wrap: A CSS3 Property That Works in Every Browser
Posted: 2 years ago in Tutorials
Okay, this is not exactly the kind of CSS property that’s going to be used in every design. But it is a very useful one when you need it, and some might say it’s much more practical than some of the fluffy new CSS3 features like transitions and whatnot.The property I’m talking about is the CSS3 word-wrap property, and believe it or not, it works in every single browser, including all versions of IE. In fact, it was even supported as far back as IE5…
Read More: Word-Wrap: A CSS3 Property That Works in Every Browser
-
Understanding CSS3 border-image
Posted: 2 years ago in Tutorials
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…
Read More: Understanding CSS3 border-image
-
Semantically Correct Website Logos
Posted: 2 years ago in Tutorials
How to mark up your website logo has always been a really controversial topic on the web. There are literally hundreds of articles about the topic and, well, this is another one…
Read More: Semantically Correct Website Logos
-
Pure CSS collapsible tree menu
Posted: 2 years ago in Tutorials
The classic tree view, we all know it, it’s used everywhere and it definitely can be useful in the right context. I’ve seen various examples about doing it with CSS and they’ve all required JavaScript. Not content with any of those solutions I investigated doing it with pure CSS, I got a good head start from my Custom Radio and Checkbox inputs article. From there I’ve come up with a solution that works pretty well…
Read More: Pure CSS collapsible tree menu
-
Font metrics and vertical space in CSS
Posted: 2 years ago in Tutorials
We put a lot of effort into the quality of the fonts in the Typekit library. As part of that work, we’ve been researching the relationship between font math and CSS, and would like to share what we’ve found. If you’ve ever wondered why some fonts look smaller than others at the same typeset size, or why the vertical space between lines of text is such a guessing game, this post is for you…
Read More: Font metrics and vertical space in CSS
-
CSS Webkit Appearance
Posted: 2 years ago in Tutorials
I did my fair share of testing this site on an iPad during development. In most cases, the version of Mobile Safari found on the iPad renders pages like any other standards-based browser. Only when I got to native UI elements like search boxes & text fields did I notice an inconsistency. A pre-set styling was being applied in the way of an inner shadow to text input fields and a gradient overlay to search / submit buttons, which also got rounded corners. After picking through Safari’s CSS Reference I found -webkit-appearance, which changes the appearance of buttons & controls to resemble a native apple UI…
Read More: CSS Webkit Appearance
-
Vendor-prefixed CSS Property Overview
Posted: 2 years ago in Code
Next to having four seperate pages for the major rendering engines, this page shows a clearer overview of the implemented, prefixed properties, and their counterparts in other engines…
Read More: Vendor-prefixed CSS Property Overview
-
Prefix or Posthack
Posted: 2 years ago in Articles
As CSS browser support increases, including impressive strides by the IE9 team, more and more authors are plunging into CSS3. As they do so, they’re facing vendor prefixes—the — properties like -moz-border-radius, -webkit-animation, and so on. There’s been some grumbling about these prefixes.
We ought to praise vendors for using prefixes, and indeed encourage them to continue. Beyond that, I hold that prefixes should become a central part of the CSS standardization process. I do this not for the love of repetition, but out of a desire to see CSS evolve consistently. I believe that prefixes can actually accelerate the advancement and refinement of CSS…
Read More: Prefix or Posthack