Main menu:

Site search

March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

Tags

Blogroll

Archive for 'CSS'

Removing annoying CSS borders on Checkboxes and Radio buttons

So, this is one of those caring, sharing geeky posts. When you apply borders to text inputs in CSS (to remove those bevelled edges you get by default) using input {border:1px solid gray;} … or whatever, it always messes up radio buttons and checkboxes.
One solution is to use attribute selectors, like so: input [type="text"] {border:1px [...]

Dear John (Dvorak)

I only know two things about Dvorak:

He was a composer of some note (although I’d much rather listen to The Prodigiy)
There’s a keyboard layout/design called Dvorak named after its inventor

Recently, another Dvorak appeared on my radar. He wasn’t anyone I’ve heard of before – not my kind of reading – but he spat the dummy [...]

Improved Style Switching through Dom Scripting

I recently picked up a copy of Professional CSS – aka "the Where’s Durstan book" – somewhat overdue, it should be noted! I was having a read through the chapter regarding style switching and found myself wanting to tweak the code I was looking at. What was wrong with the code/markup? Actually, nothing major, [...]

How to Print Selective Sections of a Web Page using CSS and DOM Scripting

This is an experiment to see if it’s possible to selectively print sections of a large document usings CSS print styles after the page has loaded without affecting the on-screen display.
Why might you use this? Well, the inspiration came from a page of interest rates from banking and savings products. Customers have often complained that [...]