?
Solved

ALIGN=CHAR problem

Posted on 1998-06-24
13
Medium Priority
?
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
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…

764 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