473,785 Members | 3,137 Online
Bytes | Software Development & Data Engineering Community
+ 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">Cl othes</td>
<td align="right">$ 241.10</td>
<td align="right">$ 50.20</td>
</tr>
<tr>
<td align="left">Ma ke-Up</td>
<td align="right">$ 30.00</td>
<td align="right">$ 44.45</td>
</tr>
<tr>
<td align="left">Fo od</td>
<td align="right">$ 730.40</td>
<td align="right">$ 650.00</td>
</tr>
</tbody>
</table>

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

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

Similar topics

0
1611
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 what datafield. Is there an option to have the "mysql" tool repeat the column headings provided at the beginning of select after the last row? At the moment, I use: mysql> select * from en; select * from en order by date desc,hour desc,minute...
82
10723
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | | | | | | | | left | center | right | | | | | | | | |
4
9615
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 bottom border. This is my code: ------------------------ <table cellpadding="0" cellspacing="0" border="0"> <tr> <td> <img src='MyTopImage.gif'>
11
7526
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: http://www.austinmetrobaseball.com/2005_redesign/index.html The "Want to join AMBL?" content area I'd like to have stuck to the bottom below the standings at all times, no matter how wide the browser is.
2
4285
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 the data to the top of the page. I would like to take the section below the repeater (label and radio buttons) and move them to the bottom of the cell.
4
81859
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 suggestions would be appreciated. Thank you. http://www1.esc.edu/personalstu/fhartnet/books.html <tr class="lightblue">
1
1641
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 background color. So far, this is all I have ... <TABLE align="center" BORDER=0 CELLPADDING=0 CELLSPACING=0> <tr> <td style="width:15px;
7
2178
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" background actually stick to the bottom of the page. Try making your browser window small... then scroll down & see how ugly it looks. ....now try resizing your browser & notice the wierd behavior. It also reacts differently in IE & FF (Which is...
7
3442
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. I read and re-read carefully the CSS 2.1 spec and I just can not see why. Related webpages: http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/MarginBottomChildNotRendered.html
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10085
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9947
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.