Results 1 to 6 of 6

any idea how to solve this?

This is a discussion on any idea how to solve this? within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Kinda having problems making a custom page... lol have no idea what i've done wrong.... here is the link Xentoo.com ...

  1. #1
    Senior Member
    Real Name
    Martyn Day
    Join Date
    Dec 2005
    Location
    Kent - UK
    Posts
    650
    Liked
    0 times
    Blog Entries
    1

    any idea how to solve this?

    Kinda having problems making a custom page... lol

    have no idea what i've done wrong....

    here is the link Xentoo.com - Multiplayer Gaming Network

    is The "Human" is centered.. but doesnt seem to be centered for the whole section. just the left side.. it should be in the middle surely?

    heres my code

    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle]</title>
    $headinclude
    </head>
    <body>
    $header
    $navbar
    <table class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="tcat" align="center">Human</td>
    <tr>
    <table class="thead" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="thead" align="center">Human Fighter</td>
    <tr>
    <tr>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    </tr>
    
    </table>
    <table class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="tcat" align="center">Human</td>
    </tr>
    
    <tr>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    </tr>
    
    </table>
    
    $footer
    </body>
    </html>
    nothing simple so basic.. any idea?
    Last edited by Martyn; 05-21-2008 at 10:13 AM.

  2. #2
    Senior Member woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    788
    Liked
    5 times
    personally as a quick fix I would close the tables and then reopen it. for example:-

    Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle]</title>
    $headinclude
    </head>
    <body>
    $header
    $navbar
     
    <table class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="tcat" align="center">Human</td>
    </tr>
    </table>
     
    <table class="thead" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="thead" align="center">Human Fighter</td>
    </tr>
    </table>
     
    <table class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    </tr>
    </table>
     
    <table class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
     <td class="tcat" align="center">Human</td>
    </tr>
    </table>
     
    <table class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    <td class="alt2"><a href="#">Fighter</A></td>
    </tr>
    </table>
     
    $footer
    </body>
    </html>
    ...but then again i'm not sure how you want it to look?

    if your not bothered about validation you just use colspan="3"
    Code:
     <td class="tcat" align="center" colspan="3">Human</td>
    Last edited by woostar; 05-21-2008 at 03:21 PM. Reason: close table row
    2011 Average: 1 post every 5 seconds... 24/7

  3. #3
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Code:
    <tr>
     <td class="thead" align="center">Human Fighter</td>
    <tr>
    <tr>
    is your problem.

    you can't start a new tr without closing it.

  4. #4
    Senior Member woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    788
    Liked
    5 times
    Quote Originally Posted by briansol View Post
    Code:
    <tr>
     <td class="thead" align="center">Human Fighter</td>
    <tr>
    <tr>
    is your problem.

    you can't start a new tr without closing it.
    good call on the missing tag, but isn't the reason it's not centered.
    Last edited by woostar; 05-21-2008 at 03:21 PM.
    2011 Average: 1 post every 5 seconds... 24/7

  5. #5
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    yup, looking again you should add colspan="3" to the the HUMAM and HUMAN FIGHTER td's

  6. #6
    Senior Member
    Real Name
    Martyn Day
    Join Date
    Dec 2005
    Location
    Kent - UK
    Posts
    650
    Liked
    0 times
    Blog Entries
    1
    ok well it seems to be working like that.. now i need to figure out how to add under it..

    e.g atm its

    1
    2
    3 3 3
    if you get what i mean....
    and trying to make that section like this

    1
    2
    3 3 3
    4 4 4 4 4 4

    so "3" would have 2 section in the same colum, but under it if you get what i mean.. let me try upload a simple page to get an idea, ill find something on the net..

    here

    but also some areas will have
    2
    3
    3 3
    4 4 4 4


    i hope if my lil number 1234 thing doesnt help, the image will lol

Similar Threads

  1. Want To Buy But First Solve My Queries
    By ziahaq21 in forum Pre-Sales Questions
    Replies: 1
    Last Post: 04-13-2008, 03:49 PM
  2. is this a good idea or a bad idea?
    By butty in forum General Discussion
    Replies: 2
    Last Post: 05-15-2007, 04:15 PM
  3. Idea
    By psico in forum Espaņol
    Replies: 0
    Last Post: 11-20-2005, 11:00 PM
  4. Not apart of VBSEO but i need an idea here
    By msimonds in forum Troubleshooting
    Replies: 3
    Last Post: 11-07-2005, 05:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •