473,545 Members | 2,469 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I'm stuck! My HTML Tables won't align right - HELP!

Code:

<!-- script src="/js/val_header.js"> </script -->
<style>
<!--
BODY {
scrollbar-3d-light-color:#eeeedd;
scrollbar-arrow-color:#000000;
scrollbar-base-color:#000000;
scrollbar-dark-shadow-color:#eeeedd;
scrollbar-face-color:#eeeedd;
scrollbar-highlight-color:#eeeedd;
scrollbar-shadow-color:#eeeedd;
background: #eeeedd url(http://valsignalandet.com/images/bg.jpg);
}
-->
</style>
<div align=right>

<table border=0 cellspacing=0 width=644>

<tr>
<td bgcolor=000000 width=46><font face="Georgia, Verdana, Arial,
Helvetica, sans-serif" size=3 color=ffffff>
<b>V</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>Ä</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>L</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>S</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>I</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>G</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>N</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>A</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>L</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>A</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>N</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>D</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>E</b></font>
</td>
<td bgcolor=000000 width=46><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 color=ffffff>
<b>T</b></font>
</td>

</tr>
</table>

<table border=0 align=right width=560>
<tr>
<td align=center width=35><font face="Georgia, Verdana, Arial,
Helvetica, sans-serif" size=3 >
<b>(</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>B</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>L</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>E</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>S</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>S</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>E</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>D</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>&nbsp;</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>&nbsp;</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>L</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>A</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>N</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>D</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>S</b></font>
</td>
<td align=center width=35><font face="Georgia,
Verdana, Arial, Helvetica, sans-serif" size=3 >
<b>)</b></font>
</td>

</tr>
</table>
<table border=0 align=right>
<tr>
<td><font face="Arial Narrow, Arial" size=1>A Christian community
for the "rest of us"</font></td>
</tr>
</table></div><p>
<div align=right><a href=/index.shtml>
<font face="Georgia, Verdana, Arial, Helvetica, sans-serif"
size=2>Home - Hemmet</a>
<br><a href=/my/layout.php>I want Väl my way!</a>
</font>
</div><p>

Everything I have done has caused this to fail; the tables are all
over the place. I want all of the tables to align to the right;
someone please help me, this is a simple problem and I can't believe I
can't do it!

Phil
Jul 20 '05 #1
7 6794

this would be easyer
<span style="color:#f fffff; font-family:Georgia, Verdana, Arial,
Helvetica, sans-serif; font-size:large; font-weight:bold;
letter-spacing:20px; text-align:right">VÄ LSIGNALANDET</span>

Jul 20 '05 #2
wasntme wrote:

this would be easyer
<span
text-align:right


The text-align property applies to block-level elements, it shouldn't hold
any influence over a span.

--
David Dorward http://david.us-lot.org/
Jul 20 '05 #3
so*****@erols.c om (Phil Powell) wrote in
news:1c******** *************** ***@posting.goo gle.com:


Everything I have done has caused this to fail; the tables are all
over the place. I want all of the tables to align to the right;
someone please help me, this is a simple problem and I can't believe I
can't do it!

Phil


Phil, why do you use a stylesheet, then use excessively repeated deprecated
tags such as <font>?

Why repeat the line <font face="Georgia,V erdana, Arial, Helvetica, sans-
serif" size=3 > more than THIRTY times when it can be a single stylesheet
command, or even just a single div command. Not only are filesizes smaller,
but editing and trouble-shooting is much easier.

In answer to your question, try this -

<style type="text/css">
<!--
..smallish {
font-family: Arial, Helvetica, sans-serif;
font-size: xx-small;}
div.bw {background : black; color : white}
div.wb {
color: #000000;
background : #FFFFFF;}
body {
font-family: Georgia, Verdana, Arial, sans-serif;

scrollbar-3d-light-color:#eeeedd;
scrollbar-arrow-color:#000000;
scrollbar-base-color:#000000;
scrollbar-dark-shadow-color:#eeeedd;
scrollbar-face-color:#eeeedd;
scrollbar-highlight-color:#eeeedd;
scrollbar-shadow-color:#eeeedd;
url(http://valsignalandet.com/images/bg.jpg);
}
td {
font-weight: bold;

width: 46px;
text-align: center;
}
table {
}
-->
</style>

</head>

<body>
<div align="right" class="bw">

<table border=0 cellspacing=0 width=644>
<tr>
<td> V </td>
<td> Ä </td>
<td> L </td>
<td> S </td>
<td> I </td>
<td> G </td>
<td> N </td>
<td> A </td>
<td> L </td>
<td> A </td>
<td> N </td>
<td> D </td>
<td> E </td>
<td> T </td>
</tr>
</table>
</div>

<div class="wb" align="right">

<table border=0 align=right width=560>
<tr><td>( B</td>
<td> L </td>
<td> E </td>
<td> S </td>
<td> S </td>
<td> E </td>
<td> D </td>
<td>&nbsp; </td>
<td>&nbsp; </td>
<td> L </td>
<td> A </td>
<td> N </td>
<td> D </td>
<td> S ) </td>

</tr>
</table></div>

<p>
<table border=0 align=right>
<tr>
<td><div class="smallish ">A Christian community for the "rest of
us"</div></td>
</tr>
</table></p>
<p><a href=/index.shtml></a></p>
<p><a href=/index.shtml>Hom e - Hemmet</a> <br>
<a href=/my/layout.php>I want Väl my way!</a>

Adam

Jul 20 '05 #4
On Mon, Jul 28, Adam inscribed on the eternal scroll:
[...] try this - .smallish {
font-family: Arial, Helvetica, sans-serif;
font-size: xx-small;}

^^^^^^^^

You'd better not "try" that anywhere near me!!
Jul 20 '05 #5
"Alan J. Flavell" <fl*****@mail.c ern.ch> wrote in
news:Pi******** *************** ********@lxplus 086.cern.ch:
On Mon, Jul 28, Adam inscribed on the eternal scroll:
[...] try this -

.smallish {
font-family: Arial, Helvetica, sans-serif;
font-size: xx-small;}

^^^^^^^^

You'd better not "try" that anywhere near me!!


Why not?
Jul 20 '05 #6
brucie <br******@loser .brucies.com> wrote in news:1ludx87mkk wbb.dlg@alt-
html.org:
In post <Xn************ *************** *******@195.92. 193.157>
Adam said...
font-size: xx-small;}
^^^^^^^^
You'd better not "try" that anywhere near me!!

Why not?


you do want people to be able to read the text don't you?

font-size:100%;

beautiful.


I'm no fan of small fonts, the original poster had it set as <font size=1>
so I was just putting it as close as possible in CSS terms. Having a mix of
CSS and deprecated html formatting makes trouble-shooting problems such as
the alignment problem harder. Not wishing to get too embroiled in the
accessibility issue, current thinking seems to be that separating style
from data and data structures is better for accessibility as the user can
use their own style sheeets, or disable them, or ignore them in the case of
speech readers etc.

Maybe {font-size : 50%} for small text would be better.
Jul 20 '05 #7
On 27 Jul 2003 16:55:45 -0700, so*****@erols.c om (Phil Powell) wrote:

Everything I have done has caused this to fail; the tables are all
over the place. I want all of the tables to align to the right;
someone please help me, this is a simple problem and I can't believe I
can't do it!


Try a <BR> or <P> between the tables.
What you have is just putting them next to each other. I think :)
Jul 20 '05 #8

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

Similar topics

3
2350
by: Yeren | last post by:
We run a website with pages that are created using ASP. The website is used by different people from different networks. For some people, the pages are stuck. It looks like the were able to open the page, but it is not displayed on their browser. We think that it might be something to do with their proxy. Does anybody know how to solve this...
1
2352
by: Samuel Hon | last post by:
Hi I'm a bit stuck with a SELECT query. This is a simplified version of what I need. I've had a look in a few books and online but I'm definitely missing something. I'm trying to avoid looping and cursors. I'll be running this in a stored procedure on SQL 7. I have a separate query which returns a series of numbers, A, say 101 103 107 ...
12
4878
by: reynoldscraigr | last post by:
Hi All, hope someone can see what wrong here I have the following function function RemoveMenuFromHoldArray(menuName) { var i = 0; for (i=0;i<=MenusToHoldOpen.length-1;i++) { if (MenusToHoldOpen == menuName) { MenusToHoldOpen.splice(i,1); return;
1
1343
by: tony_jeffs | last post by:
I understand the sections of code in the latter part Ch 4, and am close to understanding the whole thing, but I'm stuck with an aspect of having all these files and functions work together. The program's purpose is to collect student grades from input, (int, mid, final, and homework grades - a Struct is designed for he purpose) All the...
1
1479
by: Aaron B | last post by:
Hello, I have ACT!2005. I was playing with the settings and now I am completely locked out of all of the features. I am such a moron. I can log in, but all of the tabs, "Add contacts, Delete contacts, etc" are grey. Also, all of the tabs across the top of the page, "File, Edit, View, Tools, etc" most of the options under those tabs are...
2
2348
by: Ed | last post by:
Hi, I'm stuck at the moment trying to work out how to access the value of a textfield which gets added in a DIV element. I have functions to add and remove the textfields from the elements as shown here: function addListen(){ var ni = document.getElementById('listendiv');
2
2969
by: Bryan Field-Elliot | last post by:
We have a running server (v7.3) which, over time, seems to accumulate a bunch of "stuck" PostgreSQL instances which appear to be dead inside of a transaction. For example, "ps" reveals many of these: postgres 17683 0.0 0.4 7376 1032 ? S Nov13 0:21 postgres: bryan sourceid 127.0.0.1 idle in transaction As admin, I'd like...
0
1906
by: Mark Phillips | last post by:
Hello, I am having a problem in which a file can get stuck open when a thread that is attempting to write to it gets aborted (ThreadAbortedException occurs). The log file gets stuck open until the process is shut down (cannot delete file from Windows Explorer, for example). My test application stops execution with: An unhandled exception...
1
1290
by: =?Utf-8?B?QWR2YWl0?= | last post by:
I have a VB.Net windows application. It uses the tree view control. When I click on a treenode the form gets stuck. But if we run the form by putting break points there is no issues. Then the form runs properly. Please Help... -- Thanks Advait
0
7490
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...
1
7449
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...
0
7780
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...
0
6009
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...
0
5069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3465
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1911
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 we have to send another system
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
734
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...

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.