27
May
May
如果需要把网页中上所有的链接都在新窗口打开,可以加入下代码:
<head>
<base target=”_blank”>
</head>
要注意的是:< base >必须写在< head >标记里
这个方法临时解决了我的问题,但是仍然不太方便,css里面怎么写呢?偶再试试!
This entry was posted
on Sunday, May 27th, 2007 at 9:56 am and is filed under 生活随笔.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or TrackBack URI from your own site.
One Response to "网页中链接打开新页面"
December 29th, 2008 at 9:48 pm
efef