Some CSS goodness
I've been doing some web design for a friend of mine. The previous design she had involved all sorts of bletcherous IE specific stuff and a metric buttload of javascript and cack to get image popups working.
I've recreated that effect with pure CSS on Vicky's pages. It wasn't easy to get IE to play along, but I got it in the end. If you look at the CSS, the key to the image popups is:
DIV.thumbnailbox A:hover { display: inline; }
DIV.thumbnailbox A:hover SPAN { display: block; position: absolute; top: 0em; right: 0em; z-index: 102; }
/*Hack to stop IE being a pain in the butt*/ /* This moves the popups over to the left because IE gets it wrong.*/ *html DIV.thumbnailbox A:hover SPAN { right: 15em; }
This turns off the SPAN, which is itself an image, until you mouseover it, when it appears in a fixed location.
The key to getting it to work in IE involves the A:hover declaration and the hack selector at the bottom. without the first, the images don;t appear at all, and without the second, they get absolutely positioned to the parent element to the actual containing element, for some strange reason and need to be repositioned with the hack.
It works perfectly well in Mozilla without those hacks, but IE is what most people use, so it has to work in that steaming pile of cack.
About Me
Contact
- Unsolicited Bulk Email (spam), commercial solicitations, SEO related items, link exchange requests, and abuse are not welcome here and will result in complaints to your ISP.
- email the webmaster
- Any email to the above address may be made public at the sole discretion of the recipient.
Other Stuff
Some Blogs
- WWdN: In Exile (Wil Wheaton)
- Uncertain Principles
- Crooked Timber
- Official Google Blog
- Wine Library TV
- Slashdot
- waider
- waidesworld
- Making Light
- The Language Hat
- Neil Gaiman
- Whatever: John Scalzi
- Charlie Stross's Diary
- Ken MacLeod
- Dave Langford's Ansible
- Contrary Brin
- Stephen Fry
- Veronica Belmont
- Mahalo
- Merlin Mann
- Kung Fu Grippe
- Jonathan Coulton
- David Gerrold
- Orcinus
- The Sideshow
- Josh Marshall
- Atrios (Eschaton)
- Hullabulloo
- 43 Folders
- Wis[s]e Words: Ceci n'est pas un blog
- Wil Harris
- Boing Boing
- Engadget
- Gizmodo
- LifeHacker
- The Poor Man
- Creative Commons
Environental Sites
Apple News and blogs
- Apple Hot News
- Mac Rumors
- Andy Ihnatko
- TUAW
- MacRumors
- Apple Insider
- Fake Steve Jobs
- Erica Sadun iPhone developer
- Mac OS X Hints
- 9 to 5 Mac
- MacWorld
Linux News
Photography News and blogs
- DPReview
- Photo.net
- This Week in Photography
- TWiP Blog
- Strobist (flash photography)
- Stuck In Customs (HDR)
- Pentax
- Pentax Support
- The Gimp
- Photomatix
- PhotoFocus
News and Politics
- Google News
- BBC News
- South China Morning Post
- HK Standard
- UK Guardian
- Your Yahoo!
- WhiteHouse.org
- Christian Science Monitor
- The Onion (Even better than the real thing!)
Podcasts
Web Comics
- User Friendly by Illiad
- Sheldon by Dave Kellett
- Dilbert by Scott Adams
- Doonesbury by Trudeau
- XKCD by Randall
- The Joy of Tech comic by nitrozac
- PVP Online by Scott Kurtz
- Real Life by Greg Dean
- Questionable Content
- Mega Tokyo
- WonderMark by David Maliki
- Girl Genious
- Penny Arcade by Gabe and Tycho
- NASA astronomy picture of the day
- The World of Lily Wong
- Hi Jinks Ensue
- Three Panel Soul
- Girls With Slingshots


Recent Comments