473,471 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Bottom border on after the headings on the table..

New to HTML here.

I am trying to put a border after the headings. I got it to work but was
wondering if there was an easier more intuitive way of doing this. Code is
below.

<html>
<body>

<STYLE type="text/css">
.bars {text-align: center; background: red; font-size: 16pt; font-family:
Arial; font-style: Italic;
border-bottom-style: solid; border-bottom: single}

.Th1 { border-collapse: collapse; border-bottom: 2px solid
black; }
Table { border-collapse: collapse; border-bottom: 2px solid
black; }
</STYLE>

<table>
<thead>
<tr >
<th align="left"></th>
<th align="center"></th>
<th align="center"></th>
<th <align="center">Net</th>
<th align="center">% of</th>
<th align="center">Unit</th>
<th align="center">Total</th>
<th align="center">% of</th>
<th align="center">Gross</th>
</tr>
<tr>
<th class='th1'; align="left"></th>
<th class='th1'; align="center">Price</th>
<th class='th1'; align="center">Units</th>
<th class='th1'; align="center">Sales</th>
<th class='th1'; align="center">Sales</th>
<th class='th1'; align="center">Cost</th>
<th class='th1'; align="center">Cost</th>
<th class='th1'; align="center">Cost</th>
<th class='th1'; align="center">Profit</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Clothes</td>
<td align="right">$241.10</td>
<td align="right">$50.20</td>
</tr>
<tr>
<td align="left">Make-Up</td>
<td align="right">$30.00</td>
<td align="right">$44.45</td>
</tr>
<tr>
<td align="left">Food</td>
<td align="right">$730.40</td>
<td align="right">$650.00</td>
</tr>
</tbody>
</table>

</body>
</html>
Jul 23 '05 #1
0 2938

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MySQL | last post by:
While watching a realtime data acquistion system's MySQL table fill, I routinely run "mysql> SELECT * FROM TABLE". After 300+ rows scroll by , I've usually lost track of which column belongs to...
82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
4
by: Manuel | last post by:
I want to create a table in which 2 images "connect" vertically with each other. Mozilla does this without a problem, but IE keeps putting a small whitespace between the bottom of the image and the...
11
by: Mr.Clean | last post by:
I'd like to know how to "tack" a DIV to the bottom of the browser window This would also have to observe all other content in the flow. Please see this:...
2
by: Thomas Scheiderich | last post by:
Is there a way to make a section of a <td> tag to go to the bottom of the cell? Below is a portion of my page. The <td class="BodyText"> tag has a "vertical-align:top" in the css file to move...
4
by: eomer | last post by:
I would like my table header to have a border on the bottom. What I have written works in Mozilla (1.7.12) but not IE (6). I have included the snippet of html and the snippets of CSS. Any...
1
by: laredotornado | last post by:
Hi, I'm trying to have a repeating vertical graphic that repeats all the way down my table except for the bottom 20 pixels, which I would like to be blank -- white, if white is the default BODY...
7
by: Trammel | last post by:
Im trying to do something which I hoped would be alot easier than it seems. Im trying to design the layout of the page in CSS to avoid table, etc but having problems making the bottom "fade"...
7
by: GTalbot | last post by:
Hello fellow authoring.stylesheets colleagues, Can someone please explain why the bottom margin of the last inflow block-level child in an overflowed parent should not have its margin reachable....
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.