Solved

ALIGN=CHAR problem

Posted on 1998-06-24
13
183 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now