Help With Tables Please

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Help With Tables Please

~Dave
Ok need a little help I own a site called Gaming-Alliance

www.gaming-alliance.net

anywho i have this issue with tables i have it set so that it'll make links in a row under my head thing heres the link to that so far, i cannot continue without this help smile.gif so please make it fast biggrin.gif
heres the code
CODE
<html>
<title>
Gaming Alliance - Next Generation Of Gamers Today
</title>
<body bgcolor="#000000">
<table>
<tr <img src="images/top.jpg">
</tr>
</table>
<table>
<tr>
<td <a href="index.html"><img src="images/home.gif"></a>
<td <a href="wow.html"><img src="images/WoW.gif"></a>
<td <a href="css.html"><img src="images/css.gif"></a>
<td <a href="diablo.html><img src="images/diablo.gif"></a>
<td <a href="www.phpbbplanet.com/gamingalliance><img src="images/forms.gif"></a>
</td>
</tr>
</table>


heres the site with that code, last 2 wont show...?

http://www.gaming-alliance.net/main.html

 

 

 


Reply

matak
Here what would help..

CODE
<td <a href="index.html"><img src="images/home.gif"></a>
<td <a href="wow.html"><img src="images/WoW.gif"></a>
<td <a href="css.html"><img src="images/css.gif"></a>
<td <a href="diablo.html"><img src="images/diablo.gif"></a>
<td <a href="www.phpbbplanet.com/gamingalliance"><img src="images/forms.gif"></a>

Reply

~Dave
QUOTE(matak @ May 17 2007, 09:56 PM) *
Here what would help..

CODE
<td <a href="index.html"><img src="images/home.gif"></a>
<td <a href="wow.html"><img src="images/WoW.gif"></a>
<td <a href="css.html"><img src="images/css.gif"></a>
<td <a href="diablo.html"><img src="images/diablo.gif"></a>
<td <a href="www.phpbbplanet.com/gamingalliance"><img src="images/forms.gif"></a>



WOW thanks i see my error lol smile.gif thanks alot

 

 

 


Reply

Albus Dumbledore
Well as for the images missing, it is probably because you forgot the " after diablo.html.

and as for your webpage, i hope this is just a test because there are quite a few errors with the site.

just to help you along if it is not a test page;

Missing Opening and ending <head> tag
Missing Doctype (http://validator.w3.org/docs/help.html#faq-doctype)
New Standard HTML doesn't allow anything to be included into the <body> tag, so BGCOLOR would need to be put into CSS
Instead of doing <td <a href= i might suggest that you just to this
<td><a href="link.html"><img src="img"></a></td>
Instead of having two tables, have it combined as one table and put the colspan="number of columns to span" into the top row's <td>
All <td> tags need to be closed with a </td> tag.

Like i said, i hope this is just a test. because i think the page would be much more HTML Friendly and up to web standards if yo do something like this

CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Gaming Alliance - Next Generation Of Gamers Today</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<style type="text/css">
body {
          background: #000000
}
</style>
</head>
<body>
<table width="1000px" border="0">
       <tr>
                  <td colspan="5"><img src="images/top.jpg"></td>
           </tr>

            <tr>
                    <td><a href="index.html"><img src="images/home.gif" alt="Home"></a></td>
                    <td><a href="wow.html"><img src="images/WoW.gif" alt="WoW"></a></td>
                    <td><a href="css.html"><img src="images/css.gif" alt="CSS"></a></td>
                     <td><a href="diablo.html"><img src="images/diablo.gif" alt="Diablo"></a></td>
                     <td><a href="www.phpbbplanet.com/gamingalliance><img src="images/forms.gif" alt="Forums"></a></td>
            </tr>
</table>
</body>
</html>

Reply

Dagoth Nereviar
You missed a > after the first TR, and I think you'll probably need a TD around the img too?

Actually, you've missed a few > at the links bit, a " after diablo, and also needed to finish the TD tags. Coding can be oh so annoying, but you have to get it all right tongue.gif

I've highlighted the areas that you missed smile.gif
CODE
<html>
<title>Gaming Alliance - Next Generation Of Gamers Today</title>
<body bgcolor="#000000">
<table>
<tr><td><img src="images/top.jpg"></td></tr>
</table>

<table><tr>
<td> <a href="index.html"><img src="images/home.gif"></a></td>
<td> <a href="wow.html"><img src="images/WoW.gif"></a></td>
<td> <a href="css.html"><img src="images/css.gif"></a></td>
<td> <a href="diablo.html><img src="images/diablo.gif"></a></td>
<td> <a href="www.phpbbplanet.com/gamingalliance><img src="images/forms.gif"></a></td>
</tr></table>


Edit: Can't do BB code in code tags, duh tongue.gif Here's an example one:

<td> <a href="diablo.html"><img src="images/diablo.gif"></a></td>

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : tables,

  1. Can You Put Tables Inside Of Tables?
    (6)
  2. Advanced Html Frame Tag
    Frames and Tables (3)
    FRAME SYNTAX Frame syntax is similar in scope and complexity to that used by tables, and has been
    designed to be quickly processed by Internet client layout engines. CODE <FRAMESET>
    This is the main container for a Frame. It has 2 attributes ROWS and COLS. A frame document has
    no BODY, and no tags that would normally be placed in the BODY can appear before the FRAMESET tag,
    or the FRAMESET will be ignored. The FRAMESET tag has a matching end tag, and within the FRAMESET
    you can only have other nested FRAMESET tags, FRAME tags, or the NOFRAMES tag. ....
  3. Tables Invading Space
    (3)
    hi all ! I have 3 tables in my JSP, now the prob is that when I get some result from my server
    the tables seems to invade the other table's space, for example table number 2 goes up and gets
    to the right of table 1. (see atachments). Here is the code, all 3 tables has the same code except
    the variables. Code: CODE <table border="1" align="left"
    cellpadding="10" cellspacing="5" id="normales">        <tr>  
           <td class="style13"><div align="center" class="style22&#....
  4. Question About Tables!
    (13)
    How can I make tables on my web page to be static (always same size)? I want my page to always be
    the same size, I don't want my text to adjust to visible on the page when you make window
    smaller. I want horizontal scroll bar to appear!!! Help me!!!!....
  5. Html, Css, Tables...
    3 column, header, and possibly footer (10)
    Which one should I use to design my site with? Or mostly use anyway. Which is better for making it 3
    column, header and maybe footer? Where can I find a ready made code? /tongue.gif' border='0'
    style='vertical-align:middle' alt='tongue.gif' /> ....
  6. Optimize Html Tables For Search Engines
    how to tutorial (0)
    Perhaps you've heard that HTML tables reduce search engine optimization efficiency. The truth
    is, it isn't the HTML table layout that reduces the efficiency, it's the content order of
    appearance within the table that auses the search engine problems. Specifically, it's when
    site navigation is placed inside the first cell of the table that causes search engines to
    erroneously catalog the navigation links as the theme of your site. Simply put, site navigation
    utilizes words like Home, Products, Services, Contacts Us, About Us, Privacy Policy, etc. Such ....
  7. Highlight Tables On Mouseover
    Example Script (3)
    Heare is a good trick: Copy and paste the code below, into the of your html document: CODE
    <script> function changeto(highlightcolor){ source=event.srcElement if
    (source.tagName=="TR"||source.tagName=="TABLE") return
    while(source.tagName!="TD") source=source.parentElement if
    (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
    source.style.backgroundColor=highlightcolor } function changeback(originalcolor){ if
    (event.fromElement.contains(event.toEleme....
  8. Bg Of Tables
    (1)
    is it possible to make a smaller background for a cell in a table because it would make it easier to
    make better looking sites and are there any other way to make good looking drop down link instead of
    using the inbuilt simple technique of: Element 1 Element 2 ....

    1. Looking for tables,

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for tables,

*MORE FROM TRAP17.COM*
advertisement



Help With Tables Please



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE