473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Methods for CAPTION?

VK
Is <caption> not an official part of the table structure?

Usually Microsoft's methods/properties is a real junkyard, where you can
find ANY imaginable and unimaginable stuff. Still I couldn't find any for
<caption>, so it's out of TOM, I guess.

And how would you treat <caption> by DOM?
Jul 23 '05 #1
4 999
On Mon, 29 Nov 2004 14:33:00 +0100, VK wrote:
Is <caption> not an official part of the table structure?


The only source worth asking..
<http://www.w3.org/TR/REC-html40/index/elements.html>

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #2
VK
So, deprecated...
Shame though...
Jul 23 '05 #3
"VK" <sc**********@yahoo.com> skrev i meddelandet
news:41***********************@news.freenet.de...
So, deprecated...
Shame though...


No, the align attribute of the caption is deprecated.

Did you try getElementsByTagName("caption") on a table DOM object?

Joakim Braun
Jul 23 '05 #4
On Mon, 29 Nov 2004 14:33:00 +0100, VK <sc**********@yahoo.com> wrote:
Is <caption> not an official part of the table structure?
Yes, of course.
Usually Microsoft's methods/properties is a real junkyard, where you can
find ANY imaginable and unimaginable stuff. Still I couldn't find any
for <caption>, so it's out of TOM, I guess.
You weren't looking very hard, were you. :P

A HTMLTableElement object has a caption property which returns the
HTMLTableCaptionElement object associated with that table, or null if one
doesn't exist. Though Microsoft don't describe it that way, the caption
property was (reportedly) implemented from IE 4 onwards.

The HTMLTableCaptionElement object doesn't officially (that is, according
to the W3C) have any properties of its own[1] in a Strict document (only
align, which is deprecated), so the most you'll probably be doing is
accessing the text nodes it contains.
And how would you treat <caption> by DOM?


Hopefully I've covered that.

Mike
[1] It does, of course, have various inherited properties, including the
style object.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #5

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

Similar topics

9
by: Randall Sell | last post by:
Can anyone confirm if I am being an idiot, or is this a bug in the CSS implementation of Netscape 7.x/Mozilla 1.4 ... give the following single HTML: <html> <head> <style type="text/css">...
8
by: Wally | last post by:
I would like to have an image with a caption displayed below it. The size of the image will vary. The caption should not extend beyond the width of the image. How can I cause the text of the...
1
by: altacct | last post by:
I've got a multi-page subform with a tab control on one of the pages. The code that moves you from page three to page four, which is where the tab is, changes the tab captions according to some...
0
by: Chenghui Li | last post by:
We have a problem with the Windows XP theme: We have a IDE which allows other developers to develop visual programs for their customers. Our IDE allow them to set font for window captions easyly...
6
by: Bob Darlington | last post by:
I want to use the caption property for fields in a recordset as a condition in a loop. That is, I only want to consider those fields which have captions: For each fld in RecordsetName.Fields If...
11
by: Chris Beall | last post by:
See http://pages.prodigy.net/chris_beall/Demo/photo%20block%20experiments.html I've ended up with what seems like a rather complex structure for what I thought would be a somewhat simple...
7
by: Peter Parker | last post by:
Could someone show me how to limit caption width to image width dynamically (image width is not known in advance) if that's possible? I was thinking of using Javascript to get the image width which...
9
by: Neal | last post by:
http://www.brassattackofspringfield.com/gigs.html CSS at http://www.brassattackofspringfield.com/default.css Opera and IE render caption as desired. Firefox does not. Why? And is there a fix?
7
by: dkohel | last post by:
I have a form that returns 100 items. All of the items have have a different value in their Category field. EXAMPLE: ---------------- A B C How can I change the value of the caption in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.