473,385 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Question regarding Tables

2
I'm sort of new to making my own web pages, and I'm having a problem with the position of a table on a web page I made up.

I have a title on the page, then there is a huge space before my table. How do I get the Table closer to the title?
Sep 19 '07 #1
4 1469
Death Slaught
1,137 1GB
I'm sort of new to making my own web pages, and I'm having a problem with the position of a table on a web page I made up.

I have a title on the page, then there is a huge space before my table. How do I get the Table closer to the title?
Sup Russ G, Welcome to TSDN!

ok I'm asumming your using the header elemenets, which puts a space above and below the header content.

[HTML]<h1>Title</h1>

<table border="1" cellspacing="0" cellpadding="0">
<tr>
<th>Header</th>
<th>Header</th>
</tr>
<tr>
<td>Content</td>
<td>Content</td>
</tr>
<tr>
<td>Content</td>
<td>Content</td>
</tr>
</table>[/HTML]

I'm assuming something like that, so you can fix your problem with the "font" element like this:

[HTML]<font size="20">

Title

<table border="1" cellspacing="0" cellpadding="0">
<tr>
<th>Header</th>
<th>Header</th>
</tr>
<tr>
<td>Content</td>
<td>Content</td>
</tr>
<tr>
<td>Content</td>
<td>Content</td>
</tr>
</table>
</font>[/HTML]

Hope it helps, Death
Sep 19 '07 #2
Russ G
2
I realize now I should have copied and pasted the code...this is the beginning of what I have:
[html]
<HTML>
<HEAD>
<TITLE>South Allegheny Gladiators Football 2007 Roster</TITLE>
</HEAD>
<BODY TEXT="NAVY" BGCOLOR="GOLD"><FONT FACE="Long Island"><BODY LINK="NAVY" ALINK="RED" VLINK="NAVY">
<CENTER>
<FONT SIZE=+4><B>Welcome to the <U>NEW </U> South Allegheny<BR>
Gladiator Football Booster Website!<BR><BR>
2007 GLADIATORS FOOTBALL ROSTER</B></FONT>
<TABLE BORDER="2" cellspacing="0" cellpadding="0"><B><I>
<TR>
<TH><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">NAME</FONT></CENTER></TH>
<TH><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">NUMBER</FONT></CENTER></TH>
<TH><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">OFFENSE</FONT></CENTER></TH>
<TH><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">DEFENSE</FONT></CENTER></TH>
<TH><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">HEIGHT</FONT></CENTER></TH>
<TH><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">WEIGHT</FONT></CENTER></TH>
<TH><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">YEAR</ FONT></CENTER></TH></TR></B></I><BR>
<TR>
<TD><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">Jason Dansak</FONT></CENTER></TD>
<TD><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">1</FONT></CENTER></TD>
<TD><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">WR</FONT></CENTER></TD>
<TD><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">DB</FONT></CENTER></TD>
<TD><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">5' 10"</FONT></CENTER></TD>
<TD><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">135</FONT></CENTER></TD>
<TD><CENTER><FONT SIZE=+2 FONT COLOR="NAVY" FONT FACE="Long Island">Freshman</FONT></CENTER></TD></TR><BR>
<TR>[/html]
Sep 20 '07 #3
drhowarddrfine
7,435 Expert 4TB
Quick. Throw the book away you are learning with. It is at least 7 years old and not current with the times.
Sep 21 '07 #4
Death Slaught
1,137 1GB
I removed the two "<br>" tags, and your "<tr>", because well you can't break a table in two, now can you? As for the "<tr>" you started a table row gave it no divisions or headers, and you didn't even end it ( not good ).



Hope it helps, Death


PS - if you have any more questions while your programming or learning post back any time.
Sep 21 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: wmf521 | last post by:
Hi, I am in the process of converting mysql tables to postgres by means of mysqldump and then mysql2pgsql tool. However, the tables are very large (>2Gbs) and I would like to recreate some of...
6
by: Earl Anderson | last post by:
I have a A97/XP applet I've developed for my own use in my department. My boss "suggests" that since I built it, I share it with and instruct the other 6 members of my department on its use. I've...
1
by: Tom | last post by:
Hi: I have a question regarding normalization of a database. I am trying to model the inspection and repair of items. Also need to track when they go in service, out of service and several...
6
by: rodchar | last post by:
Hey all, I'm trying to understand Master/Detail concepts in VB.NET. If I do a data adapter fill for both customer and orders from Northwind where should that dataset live? What client is...
2
by: Terrance | last post by:
Hello, I have a question in regards to hashtables that I was hoping someone can share some light on. I'm currently working with VB.net and I'm trying to learn as much as possible about the...
2
by: et | last post by:
I am new to asp.net. I am writing a program that will revolve around an extensive client database, and wonder what the best way to design the program is, using classes. I have about 10 different...
5
by: Regnab | last post by:
I have a table "tblSprayApplication" in a project for a nursery. Each record refers to a single spray application across the nursery, recording which groups had been sprayed. Multiple applications...
8
by: rbg | last post by:
I did use query plans to find out more. ( Please see the thread BELOW) I have a question on this, if someone can help me with that it will be great. In my SQL query that selects data from table,...
12
by: nyathancha | last post by:
Hi, I have a question regarding best practices in database design. In a relational database, is it wise/necessary to sometimes create tables that are not related to other tables through a...
1
by: bg_ie | last post by:
I'm designing a database with 3 tables called Function, Test and Scene. A Function has multiple Tests, but a Test has only one Function. A many to many relationship exists between Test and Scene...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.