Perennially Sane

Transparency

No comments

I must confess that I committed a sin against good webdesign yesterday.

It was the futuristic blue glass look of this theme that did it. I had barely managed to make the CSS validate when I turned right around and broke it by adding the (non-standard) Mozilla property "opacity" to make the layers transparent.

Not only that, but today I realized that making the text box almost half transparent in front of a blue background makes the text really hard to read, especially the blue links.

So I made a compromise: The text box is now again opaque and well-readable, while the side bar is see-through. And let's face it - with the work I've been doing on the "printable version" stylesheet (which you can try out by viewing the Print Preview in your browser), I figure I deserve to use a tiny little non-standard property.

The printable version does away with transparency, background and sidebars, and prints mostly black on white. It also does away with various navigation links and the result is a nicely formatted A4 page. With CSS2, I even put the URLs of hyperlinks in brackets, so you can still see where they go after they're transferred to paper. Which is good, because paper is notoriously unclickable.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may use these tags: [abbr], [acronym], [b], [center], [code], [color], [cpp], [css], [define], [diff], [dtd], [font], [h3], [h4], [h5], [h6], [hr], [html], [i], [img], [java], [javascript], [justify], [left], [list], [mysql], [node], [ol], [perl], [php], [python], [quote], [right], [s], [sh], [size], [sql], [sub], [sup], [table], [u], [ul], [url], [wikipedia], [xml]
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Easily link to terms in various wikis. For help, see <a href="/interwiki/3">interwiki</a>.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Syndicate content
Powered by Drupal, an open source content management system

eXTReMe Tracker