TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 101
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 136
  • Total: 136

General question

Started by Rocket, July 04, 2007, 01:11:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rocket

Ok, this has nothing to do with TP.. or SMF... but I thought that maybe someone might no how to keep me from pulling out the last strands of my hair by helping me with this issue.  If that is a problem, please feel free to delete this post.

I have created an html page that I am loading into an article.  All content is within a table.  When the page displays, anywhere, not just within TP or SMF, there is about a 1" gap at the top.  I added a div above the table and inserted a graphic.  The graphic displays at the top, with no gap above it, but the GD  :tickedoff: table still has the 1" gap.  Is this a common issue?  If so, is there a workaround?

You can see it in action www.xpertwarriors.org

It is the gap under the black and white logo and the wording.

Thanks for the help!

Rocket

IchBin

Looking at the code it looks as though you are missing your first table row. You go from <table> to <td> without your <tr>

Maybe thats the problem.

Rocket

I gave it a shot, but it didn't solve the issue... I'll keep playing with it.  Thanks for trying bro!

IchBin

Post your code if you can't figure it out. I'll throw it on a test site of mine and take a look if you'd like.

Rocket

OK, here goes!   :)  Thanks Again!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

<style type="text/css">
<!--
body {
background-color: #000000;
}
body,td,th {
color: #CCCCCC;
}
.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style2 {
vertical-align: top;
margin-top: 0 px;
}
-->
</style>
</head>

<body>

<div align="center" class="style2"><table width="500" border="0" align="center">
     <tr>
<td colspan="2" class="style1"><p>In the 1990's, Novalogic began
       a series of FPS games based on fictitious characters named The Delta
       Force.&nbsp; The series
       of games was such a hit, the US Army used the games for some of their
       special troops training.&nbsp; Here in these games squad play was born.&nbsp; Early
       on it was friends getting together of like mind to play what they loved
      to play.&nbsp; Soon it grew to leagues and ladders with prizes and trophies.</p></br></td>
  </tr>
       <br />
      <tr>
    <td width="138"><div align="center"><span class="style1"><img src="images/df1box.gif" alt="Delta Force" width="75" height="90" longdesc="http://www.novalogic.com" /></span></div></td>
    <td width="358"><p class="style1">During the second installment of the series
        in 1999 there was a squad named Blade Runners.&nbsp; One of their members, Sapper,
        recruited a player named Jackalo.&nbsp; Soon the two created a great
        friendship together and along with a third member became the focal point
        of BR.&nbsp; New squads it seemed were being formed daily as more and
        more players became aware of FPS gameplay and were jumping into the fray.&nbsp; After
        a couple of months of playing on BR it became apparent when an old member
        returned and personality conflicts arose that Jak and Sap take their
        show elsewhere.&nbsp; Jak, Sap and Oxy decided to start a new squad and
    they named it XpertWarriors.</p>
      </td>
  </tr>
  <br />
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><div align="center"><span class="style1"><img src="images/boxEn.gif" alt="Delta Force II" width="75" height="90" longdesc="http://www.novalogic.com" /></span></div></td>
    <td><span class="style1">This new squad needed a leader and Jak was the obvious
        choice.&nbsp; His relaxed demeanor and mild mannerisms quickly rose to
        the top in clutch situations.&nbsp; Sap would just do what he does best,
        kill.&nbsp; Along with Tony, Jak and Sap began to build a juggernaut.&nbsp; Players
        always love to play alongside great players, we all know why.&nbsp; XW
        quickly attracted great players with their strong play and great shooting
        abilities.&nbsp;  In time most of BR broke up and came over to XW during
    the third installment, Land Warrior.</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><div align="center"><img src="images/lwbox.gif" alt="Landwarrior" width="75" height="90" longdesc="http://www.novalogic.com" /></div></td>
    <td><span class="style1">In Land Warrior, XW was a machine.&nbsp; XW built
        the foundation of it's heritage in this game, and that heritage is match
        play.&nbsp;  Some of the best squads in the history of Novalogic were
        present.&nbsp; Squads like Firefighters, Crosshairs, BMF, SAW were matching
        against XW seemingly daily.&nbsp;  To this day Jak and Sap still talk
        of some of those battles.&nbsp; XW learned early on to never give up,
        a trait that is instilled in every player that wears the .xw tag.&nbsp; To
        be the best you have to play the best and XW always played the best team
        in the game.&nbsp;  Along with playing the best change will occur and
        new games are no exception.&nbsp; Land Warrior is giving way to Task
    Force Dagger and XW will move on with the game.</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><div align="center"><img src="images/tfdbox.gif" alt="Taskforce Dagger" width="75" height="90" longdesc="http://www.novalogic.com" /></div></td>
    <td><span class="style1">TFD was a let-down after the truly great game Land
        Warrior, but change is good or is it?&nbsp;  Although XW continued to
        match and play the game religiously, it just didn't have the fire or
        the enthusiasm that the previous titles offered.&nbsp; Again, a new game
        is on the horizon and XW is always tuned and this time it just happens
    to be the biggest blockbuster of all---Black Hawk Down.</span></td>
  </tr>
  <br />
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <br />
  <tr>
    <td><div align="center"><img src="images/bhdbox.gif" alt="Blackhawk Down" width="75" height="90" longdesc="http://www.novalogic.com" /></div></td>
    <td><span class="style1">This game was so huge that XW left TFD to start
        playing BHD in the demo stage.&nbsp;  After picking up some more shooters
        this is where XW began to make it's run in the FPS gaming world.&nbsp; From
        it's strong background XW gained notoriety quickly but for a price.&nbsp; Playing
        the best always takes it's toll and XW was no exception.&nbsp; Personality
        conflicts arose, mainly due to dedication to match play and teamwork,
        and XW went through some lean months in 2003 when the squad was down
        to a core group of six players.&nbsp; Those six held on to the belief
        of the squad and stayed the course, setting XW up for a very memorable
        and important time in XW history.&nbsp; From the dissolution of the Brew
        Crew, XW absorbed a great deal of important players that propelled XW
        the only way it could go, up.&nbsp;  Squads such as DFR, DFL, EVO, SAW,
    BMF, 1MD were all present for the great matches that XW enjoyed playing.</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="center"></div></td>
  </tr>
  <tr>
    <td><div align="center"><img src="images/jobox.gif" alt="Joint Operations" width="75" height="90" longdesc="http://www.novalogic.com" /></div></td>
    <td><span class="style1">Even bigger than BHD, was Joint Operations: Typhoon
        Rising, the next installment in Novalogic games. Here XW takes match
        play to new heights.&nbsp; Another important moment is unfolding in XW
        lore as our strong friendships again pays big dividends when we pick
        up most all of EVO's great players when the brass decides to finally
        close shop on one of BHD's greatest squads.&nbsp; Along with Brew Crew's
        best and now EVO's top team, the leadership at XW was poised for a ride.&nbsp; Soon
        we expanded our roster to twenty five steady players which enabled us
        to conduct intra-squad practices that honed our skills.&nbsp; From these
        closed walk-through's game breaking strategies were born, never to be
        unleashed until our match.&nbsp; Teamwork and communication is key as
        we all know.&nbsp; Execution of the teamwork and communication is where
        a squad is measured and any squad that has the opportunity to match XW
        knows that we can deliver the goods.&nbsp;  Some squads never made it
        to the next day after a match with XW.&nbsp; A couple handed us our butts,
    but we always learned from our mistakes and put that knowledge to work.</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="center"></div></td>
  </tr>
  <tr>
    <td><p align="center"><img src="images/bf2.jpg" alt="BF2" width="71" height="65" /></p>
    <p align="center"><img src="file:///C|/Users/Dan Rakes/Pictures/xwgraphics/cod2sm.png" width="122" height="19" /></p></td>
    <td><span class="style1">From the time the leadership quit playing JO, the
        number of members has gone up considerably.&nbsp; We tried BF2 but most
        of the squad thought it was too much like work.&nbsp; COD2 hit the shelves
        and was more our style of play, a shooter's game.&nbsp; XW's leadership
        dove into COD2 at full throttle taking one fourth of the squad with it
        as it rose to the top quickly in a game seemingly in a different genre.&nbsp;  These &quot;clans&quot; had
        been playing the COD series for 3-4 years and ruled in the match ladders
        before we stepped up.&nbsp; XW showed once again it's versatility and
        willingness to adapt as we left our mark in yet another game climbing
        to the top five in a couple of TWL ladders.&nbsp;  Even though we wear
        our tags behind our name (a novalogic tradition) and refer to ourselves
    as a squad, we gained respect from all clans.</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="center"></div></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center"><img src="images/banner.png" alt="XW" width="500" height="100" longdesc="http://www.xpertwarriors.org" /></div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="center"><br />
          <br />
    </div></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center"><span class="style1">Today, our members
          are strewn all over the multiplayer gaming world while we patiently
          wait for the next blockbuster FPS game to hit the streets.&nbsp; Warrock is filling the void now for some and
      JO is always the mainstay.&nbsp; One thing is certain, when the next
      blockbuster game comes, XW will be there and you will be in our line
      of fire!&nbsp; Never forget----XW Rocks! </span></div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="center"></div></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center"><span class="style1">XW is mainly an
          older group of men and women that enjoys having fun playing games together.&nbsp; The
      friendships we have, and will make, will forever be held in high esteem.</span></div></td>
  </tr>
</table>
</div>
</body>
</html>


Don't fall asleep reading the content!   :P

Ianedres

I added this to the CSS portion of your code:
table {
top: 0px;
position: absolute;
}


This moved the table to the top with no margin... that is a quick fix, but may lead to problems elsewhere.

Rocket

Fixed it.. had some random br tags in the table between the tr tags.  Thanks for the help!

This website is proudly hosted on Crocweb Cloud Website Hosting.