Sometimes I miss having powers... Oh. Oh! I know what this is! This is peer pressure! Any second now you're gonna make me smoke tobacco and--and have drugs!

Anya ,'Showtime'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


tommyrot - Feb 23, 2010 12:44:56 pm PST #13028 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Dumb html question.

If you have an <a> tag with a graphic that you can click as the link, how do you eliminate the purple border that you get that shows the button has been pressed?

eta: I mean, besides just using a function call instead....


amych - Feb 23, 2010 12:46:30 pm PST #13029 of 25501
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

tommyrot, border=0


tommyrot - Feb 23, 2010 12:47:15 pm PST #13030 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

As part of the <a> tag? Doesn't work.

eta: But it works as part of the <img> tag. Cool!


amych - Feb 23, 2010 12:51:06 pm PST #13031 of 25501
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

Oops! Yes, because it's an attribute of the image, and I didn't think through a full example before phone-posting.


Ginger - Feb 23, 2010 1:20:22 pm PST #13032 of 25501
"It didn't taste good. It tasted soooo horrible. It tasted like....a vodka martini." - Matilda

I put img {border:0;} in my style sheets.


tommyrot - Feb 23, 2010 1:44:09 pm PST #13033 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

I put img {border:0;} in my style sheets.

Good idea. Except this huge web application only has a single instance of an image as part of an <a> tag - every other button has a javascript function call instead.

Which is why the Mystery of the Purple Border Around the Button remained unaddressed until now.


Ginger - Feb 23, 2010 1:56:17 pm PST #13034 of 25501
"It didn't taste good. It tasted soooo horrible. It tasted like....a vodka martini." - Matilda

Those images are sneaky bastards.


Jessica - Feb 24, 2010 6:13:56 am PST #13035 of 25501
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

Anyone know of a wireless print server that's Mac-compatible and cheaper than Airport Express? The printer is an Epson if that makes a difference.


Jon B. - Feb 24, 2010 7:37:35 am PST #13036 of 25501
A turkey in every toilet -- only in America!

Jessica -- I spotted this yesterday. It's not exactly what you asked for, and I don't know how good it is, but maybe it's worth a look? [link]


Jessica - Feb 24, 2010 7:42:12 am PST #13037 of 25501
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

Hmm. I like the price, but the user reviews seem very mixed.