473,238 Members | 1,727 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,238 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 1466
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: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.