Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Tuesday, August 25, 2009

_Blank variant

On old school tip... when you do not want to use "target=_blank", you can the use following javascript.

<a onclick="window.open(this.href,'_blank');return false;" href="http://some_oother_site.com">Some Other Site</a>

Wednesday, August 19, 2009

Only IE7 in IE8

Force IE7 compatibility mode in IE8 with a single line in the header of each webpage.


<meta http-equiv="X-UA-Compatible" content="IE=7" />

Friday, May 1, 2009

Webpage in the center of the screen

On Mikesdotnetting - Articles on ASP.NET and Web Development I have read some usefull HTML which I often forgot.

Html Snippet for creating a webpage in the center of the screen without tables.

Maybe there a better suggestions?