Page 1 of 1

a coding question

Posted: Fri Sep 21, 2007 6:31 pm
by steve8675537
i have an advert banner i was to put on my phpbb overall header. Here is the code, when someone clicks on it i want it to open a fresh window, how can i recode it?

Code: Select all

<IMG SRC="" WIDTH="1" HEIGHT="1" BORDER="0"><IMG SRC="" WIDTH="1" HEIGHT="1" BORDER="0"><center>
<div style="width:148px; height:170px; margin:0px; border-width:1px; border-style:solid; border-color:#000000; background-color:#CCCCCC">
  <strong><span style="color: yellow; font-size:33px">Stalk </span><span style="color: Red; font-size:20px; font-weight:bolder">Your Opponents!</span></strong><br />
  <form action="" method="post">
<input name="name" type="text" id="name"  maxlength="40" value="Poker ScreenName" style="margin:2px; width:115px; height:16px; background-color:FFFFFF; font-size:10px; font-family:verdana; vertical-align:top">
<input name="submit" type="submit" style="background-color: #E40323; color: #FCFBEC; font-family: Verdana; font-size: 10px; font-weight: bold; width: 100px; border-left: 1 solid #a0a0a0; border-top: 1 solid #a0a0a0; border-right: 1 solid #000000; border-bottom: 1 solid #000000; padding: 1 1 1 1; outline: #a0a0a0 solid 1px;" value="Show Me Stats!" />
<span style="color: White; font-size:10px; font-weight:bolder">
  <a href="">Tracking Online Poker Player Stats and Hand Histories for  Millions of Players!</a></span></div>

Re: a coding question

Posted: Fri Sep 21, 2007 6:33 pm
by dellsystem
Strange code ... I don't see the hyperlink tags. What you do, though, is add a target="_blank" within the <a href=""> tag, after the last ".