Solved

ALIGN=CHAR problem

Posted on 1998-06-24
13
185 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
css, html 5 42
insert text field data into html script 13 41
Problem with spacing columns on a row in a table 10 23
If condition on Html with Asp 11 13
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

786 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