bkelly
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by bkelly
-
-
I have a simple web site created in HTML with a basic simple editor and need to put some addresses in column format. Here is an approximation of the desired format.
QuoteRegular text above the addresses
Mr. Smith Ms Baker
123 main 456 Central
Somewhere, CA 12345 OtherCity, FL 32165
Regular text below the addresses
I don’t need tables, just two or more columns. As simple as possible. How might I write the HTML code to do this?
-
Windows 7, IE 8, Ultraedit Text editor
Experience level: Novice
I read that HTML tables are out and CSS Tables in. The problem is that the table is display at the bottom of the page, above all the text that is written below the table. I want the table to be presented were it is elaborated in my text.
At the top of the document in the <head> is
<style>table, th, td { border: 1px solid black; min-width: 75px; }</style>
Further down the table starts off like this:
<p><table> <tr> <th>Item</th> <th>Value</th> <th>Units of Measure</th> </tr> <tr> <td>Standard Air Pressure</td> <td>101.3</td> <td>KPa (Kilopascal)</td> </tr> </p>
That did not format right. I hope the reader can figure out my intent.
Below the table is another paragraph :
<p>next paragraph</p>
when viewed in the browser the table is below the text "next paragraph" I want the table above all the text that follows the table in the htm document.
Is this sufficient to show my error?
Thanks for your time
html columns
in HTML/XHTML
Posted
Wow, that is way too much. Just simple text, in columnar format. My post of just simple text with spaces. But HTML does not respect spaces and compacts them all down to one.
Posting this I discovered <pre> text </pre>
The <pre> will work but I would like to move one step up and find the instructions to make simple columns.