Moving On
You can find more of Nat's wisdom at webapper.
Erik is now blogging at psykel.
Happy Trails, grumps
<TBODY> is handy
But the other day, TBODY came in handy. I used it to make a quick and dirty blowout user interface like this:
| [+] Thing 1 |
| Sub Thing 1 |
| Sub Thing 2 |
The code is very simple - and I got to finally use TBODY:
Adding Line Breaks for Printed Media
Here's a pretty self explanitory example below. Looks normal in the browser, but when you print the HTML, line breaks are there.
<head></head>
<body>
This is the first page
<br style="page-break-before:always;">
This is the second page
<br style="page-break-after:always;">
This is the last page
</body>
</html>
oswd
It usually takes me a little over an hour to find a design suitable for my needs. So far I've ripped one for a personal site and I just finished ripping one for The Bug Jar.
TITLE is cool, part 2
I've never used them before, but they proved to be quite handy. Here's a link to the one I decided to use in a project where I needed response time to be immediate.
Not as elegant as a CSS only solution, but it works, and you can modify the CSS to customize the appearance of the tips.
TITLE is cool
CSS lets you do something similar with just about anything - a table cell, span tag, link, etc. Here's a simple example:
CSS and you
About a year ago, I started a small project and decided to completely dive in to CSS, making all code output completely with DIV, SPAN and P tags. Though the temptation to use a table here and there was strong, I used CSS to control the layout. I'd of course used CSS before, but only for trivial things like link colors, font settings, element borders, etc.
If you're thinking of diving in, here's a few observations that might make your life easier:
