You are here

firefox

How to open new window (popup) and center on screen

Method 1: Center a popup window on screen

Here is a java script function that opens a new window (popup) and puts it on center of screen:
With new suggested improvements thanks to long beach web design

Differentiating CSS for IE7 IE6 and firefox

if you put # before any css tag, only IE 7 and IE 6 will read that line.
if you put _ before any css tag, only IE 6 will read that line.

example:

width: 560px;     /* All other browsers */ 
#width: 558px;    /* IE 6 & 7 */
_width: 557px;    /* IE 6 */

just remember to keep this order.

Subscribe to RSS - firefox

User login

Recent comments

About website

This website is photography and web design portfolio of Nima Mehrabany - web designer & photographer.

I am an advocate of css, xhtml and standards based layouts, creating well structured sites that are easy to use, optimized for search engines & coated in solid design.

Read More...