[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ALIGN=CHAR problem

Posted on 1998-06-24
13
Medium Priority
?
196 Views
Last Modified: 2011-08-18
I thought that this was a simple attribute to code into a table, but I can't seem to get it to work.

Here's my offending code:
<CENTER><TABLE>
<TR><TD ALIGN=char CHAR="|">
<a href="syllabus.htm">Class Syllabus</A> | <a href="schedule.htm">Class Schedule</A>
<BR><a href="critique_a_test.htm">Critique-a-Test Exercise</A> | <A HREF="disabilities.htm">Students With Disabilities</A>
</TD></TR></TABLE></CENTER>

Can anyone tell me what I did wrong?  I'm running communicator 4.05 on Windows 95.
0
Comment
Question by:jbirk
  • 6
  • 3
  • 2
  • +2
13 Comments
 
LVL 6

Expert Comment

by:alamo
ID: 1844370
I have never seen this attribute used... it isn't listed in Netscape's master HTML reference.  It doesn't work on IE3 either (I don't have IE4 to test with).

Doing a quick net search for align=char, I see discussions relative to it in 1995 / early 1996 - that makes me think it was part of HTML 3.0, which was shelved.

So where did you see a reference to it?
0
 
LVL 8

Author Comment

by:jbirk
ID: 1844371
In a book on HTML 4.0 by Raggett.
It can also be found on the w3 consortium's HTML 4.0 specification (it's not in 3.2):
http://www.w3.org/TR/REC-html40/index/attributes.html
Was this one of the html 4.0 tags that was implemented by the browsers for some reason?
0
 
LVL 1

Expert Comment

by:ris
ID: 1844372
It doesn't seem to work correctly when put into the <TD> tag.  Have you tried coding the table differently?  Here's some code I got from the w3 consortium page on the use of this attribute:

<TABLE border="1">
  <COLGROUP>
  <COL><COL align="char" char=".">
  <THEAD>
  <TR><TH>Vegetable <TH>Cost per kilo
  <TBODY>
  <TR><TD>Lettuce        <TD>$1
  <TR><TD>Silver carrots <TD>$10.50
  <TR><TD>Golden turnips <TD>$100.30
  </TABLE>
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Author Comment

by:jbirk
ID: 1844373
Risman,
Did you try this code?
I put into the page as is, and it doesn't align the text at all.
I think maybe this attribute just put into the browsers for some odd reason even though it is part of HTML 4.0
0
 
LVL 1

Expert Comment

by:dagon
ID: 1844374
communicator 4.05 does not fully support html 4
0
 
LVL 6

Expert Comment

by:Holger101497
ID: 1844375
Does not fully support HTML 4.0?
To the best of my knowledge (correct me if I'm wrong), the "current" HTML-version is still 3.2

I believe HTML 4.0 recommendations have recently been approved, but they are not really "out there" yet...

e.g. have you ever seen anything like this on the web? I haven't!
<P>                 <!-- First, try the Python applet -->
  <OBJECT title="The Earth as seen from space"
          classid="http://www.observer.mars/TheEarth.py">
                      <!-- Else, try the MPEG video -->
    <OBJECT data="TheEarth.mpeg" type="application/mpeg">
                      <!-- Else, try the GIF image -->
      <OBJECT data="TheEarth.gif" type="image/gif">
                      <!-- Else render the text -->
       The <STRONG>Earth</STRONG> as seen from space.
      </OBJECT>
    </OBJECT>
  </OBJECT>
0
 
LVL 8

Author Comment

by:jbirk
ID: 1844376
You mean layers, CSS, and all that functionality was part of html 3.2?  I thought that was a new thing to html 4.0?  Which would mean that the 4.0 browsers are supporting html 4.0 (at least some of it)
0
 
LVL 1

Expert Comment

by:dagon
ID: 1844377
yes "some of it" is the point.
0
 
LVL 6

Expert Comment

by:alamo
ID: 1844379
martike, that html did not work on Communicator 4.04. Was that feature really added  in a .01 release?

By the way, it seemed to work - as an accidental result of the <center> - but no real alignment was happening on the |. Changing the link text to be of different lengths made it lopsided.
0
 
LVL 8

Author Comment

by:jbirk
ID: 1844381
Well guys...  I think this question is unanwerable (i.e. no solution)...  In which case I think Dagon should get the points for stating the fact that the browsers do not 'fully' support html 4

Dagon, could you please answer the question?
0
 
LVL 8

Author Comment

by:jbirk
ID: 1844383
Of course I knew how to do that...  I just wanted to get the align=char thingy working cause it would be nicer
0
 
LVL 8

Author Comment

by:jbirk
ID: 1844385
No offense taken.  I understand.
0
 
LVL 1

Accepted Solution

by:
dagon earned 0 total points
ID: 1844386
woo hoo 5 points, yipee
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question