...

View Full Version : target = '_blank', body margin background



BubikolRamios
04-11-2009, 06:36 PM
if I go:



<a href = '...' target="_blank"> .. </a>


then the new window has default couple of pixels margin white,
how to set it to black ?

or set , for new window:


.body
{
margin:0;
padding:0;
width:100%;
height:100%;
top:0;
left:0;
}

?

CaptainB
04-11-2009, 06:46 PM
Edit the CSS for the page you are opening:


body {background-color:#000;}

BubikolRamios
04-11-2009, 06:58 PM
Thanks, found the bugger.

Excavator
04-11-2009, 07:06 PM
Hello BugikolRamios,
something to consider - DontOpenNewWindow (http://css-discuss.incutio.com/?page=DontOpenNewWindow)

BubikolRamios
04-12-2009, 03:31 AM
of course, I was annoyed by this new window myself, but wast tracking a bug, and this helped me to find it ....



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum