css archives

CSS browser history hack without javascript: “Using a hybrid of a:visited and display: attribute you can detect that the user has visited a page and more importantly perform an action based on that fact. Setting the background: image attribute for the visible tag to use a URL of a logging CGI script allows you to send a request to a remote webserver.. [allowing you to] steal history information from the user without ever once using JavaScript”. Demo. (via Blackbeard)

posted by jason on Wednesday, Mar 07, 2007

Forcing page breaks in printed versions of your site with CSS

I learn something new every day. You can force a page break in your printouts with CSS by using the page-break-before and page-break-after properties.

These are supported by all modern browsers (including Safari although not listed above) so can be freely used to get better control over the printed versions of your pages.

posted by aaron on Thursday, Dec 14, 2006

The Commoditization of HTML, from Snook. For those looking for outsourcing of CSS-based layouts, here’s what looks like a useful list of services. Also check the comments; very entertaining exchange between Jeff Croft and other posters around his comment that “any monkey can bang out XHTML and CSS.” Banana anyone?

posted by ted on Thursday, Nov 02, 2006