2010.06.24

CSS Snippet for Drop Shadow

By underblob @ 6:04pm — Categories: Design, HTTP, Tech
Tags: , , , ,

Use this snippet to add drop shadows to elements for Mozilla, Webkit, and browsers that support CSS3:

	-moz-box-shadow: 1px 2px 3px #666;
	-webkit-box-shadow: 1px 2px 3px #666;
	box-shadow: 1px 2px 3px #666;
	/* box-shadow: X Y blur hex; */

CSS Snippet for Rounded Corners

By underblob @ 5:54pm — Categories: Design, HTTP, Tech
Tags: , , , , ,

Use this CSS to apply rounded corners to Mozilla, Webkit, and browsers that support CSS3:

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;

2010.03.16

Biking Directions on Google Maps

By underblob @ 9:48am — Categories: HTTP, Mobile, Tech
Tags: , , ,

Google Maps just launched an upgrade that includes bike trails layer and routes optimized for bicycles:
maps.google.com/biking

2010.02.26

IE Conditional Tags

By underblob @ 10:26am — Categories: HTTP, Javascript, Tech

Internet Explorer has rendering bugs that vary across all versions. Microsoft has included some conditional comment tags that are specific to their IE browsers since IE5. These are really helpful if you need to include a CSS or JS file to fix layout quirks:

<!--[if IE]> Instructions for all IE browsers <![endif]-->
<!--[if lte IE 7]> Instructions for IE7 or earlier <![endif]-->
<!--[if IE 6]> Instructions for IE6 only <![endif]-->

2009.07.08

DW Extension: EnityConverter

By underblob @ 4:31pm — Categories: HTTP, Tech
Tags: , , , , ,

Converting seven back issues of a magazine for online publication, I had to copy and paste the text from the designer’s PDFs into my HTML documents for formatting (Acrobat has “Export as HTML with CSS” but it was über-Frankenstein, creating more work than doing it by hand… export as txt is much better). Of course all of the special characters like em-dash, smart quotes, etc. had to be converted to HTML entites: &mdash; &ldquo; etc. Frustrated with the ongoing find and replace in Dreamweaver, Google found me this time-saving relic in the Adobe Exchange that will auto-convert everything to HTML entities in code view:

www.adobe.com/cfusion/exchange/entityconverter/

2009.05.18

Twitter Post Updates to your Facebook-ness

By underblob @ 11:51pm — Categories: HTTP, Mobile, Remote Post, Tech
Tags: ,

So after you login to your Facebook profile, if you click on the “Applications” tab in the bottom left corner of the screen on the bottom control bar, you see this page full of applications. Although none of them are flesh-eating reptiles, you can find a way to add your Titter updates to your Facebook shizzle. If you are still reading this, you may understand…

  • Facebook -> Applications -> Browse Applications
  • At the “Search Applications” field at the top right, enter “Twitter”
  • Add the top result application entitled “Twitter”
  • Add it, give your Twitter login, allow to access your profile, add the box, etc. money, to the from world is full of champagne and bacon.
  • Congrats, you survived.


2008.12.02

Clearing Browser Cache

By underblob @ 1:56pm — Categories: HTTP, Tech

Update 2010.07.09: wikiHow has a great article on clearing browser cache.

Internet Explorer 6:

Tools (menu) -> Internet Options (menu) ->
Internet Options (control panel) -> General (tab) ->
Temporary Internet Files -> Delete Files (button) ->
OK (button)

Internet Explorer 7:

Tools (menu) -> Delete Browsing History (menu) ->
Temporary Internet Files -> Delete Files (button) -> Yes (button)

Firefox 2:

Tools (menu) -> Clear Private Data (menu) ->
Cache (checkbox) -> Clear Private Data Now (button)

Firefox 3:

Tools (menu) -> Clear Recent History (menu)
Time Range -> Everything (select menu)
Details -> Cache (checkbox)
OK (button)

Safari:

Safari (menu) -> Empty Cache (menu) -> Empty (button)

For more information on web cache: wikipedia.org/Web_cache

2008.09.05

HttpFox

By underblob @ 6:13pm — Categories: HTTP
Tags: , ,

Recently we had to troubleshoot an Internet Explorer problem with a force download ASPX script. The download script was being called from a Flash movie. After the call to the download script, all outgoing Javascript calls from Flash were either loading in the Address Bar and not being executed as Javascript (IE6) or were throwing errors (IE7).

It was a black box situation where we only had HTTP access to the server. We needed to examine the HTTP headers to determine if they were a contributing factor to the issue. But how? We found this clever Firefox Add-on that did the trick: HttpFox