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 [...]
Posted: August 30th, 2006 under CSS, Scripting, Tech.
Comments: 18
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 [...]
Posted: August 7th, 2006 under CSS.
Comments: 4
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, [...]
Posted: July 4th, 2006 under CSS, Scripting, Tech.
Comments: 1
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 [...]
Posted: March 21st, 2006 under CSS, Scripting, Tech, Web Standards.
Comments: 67