You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, August 7th 2003, 4:56pm

Konquerer/KHTML and <colgroup> tag

Does Konquerer/KHTML support the <colgroup> tag? From the recent work I've been doing on the web, it doesn't seem to. Pages I've made using it don't appear correctly (at least using align="" and font) in Konquerer or Safari (which uses KHTML). If anybody knows, please let me know, and if possible suggest some ways around this. Thanks!

-Chris

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Thursday, August 7th 2003, 8:00pm

From which revision of the HTML standard is this tag?

Does your code vaildate in w3c's validator?

Cheers,
_
Qt/KDE Developer
Debian User

3

Thursday, August 7th 2003, 8:11pm

HTML 4.01

http://www.w3.org/TR/html401/struct/tables.html#h-11.2.4

But I'm pretty sure it's in earlier versions.

Yup, found it in the 4.0 recommendations too

http://www.w3.org/TR/1998/REC-html40-19980424/struct/tables.html#h-11.2.4

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Thursday, August 7th 2003, 8:13pm

Quoted

Original von Ctawp

HTML 4.01

http://www.w3.org/TR/html401/struct/tables.html#h-11.2.4

But I'm pretty sure it's in earlier versions.


Yes, I found it at least in 4.0
I asked because I didn't know about it yet.

Can you create a small example and describe how it should wokr/look like?

Cheers,
_
Qt/KDE Developer
Debian User

5

Thursday, August 7th 2003, 8:29pm

Sure. While the page itself doesn't validate (mainly errors of the validator trying to parse javascript), the column sections do validate.

<table>
<colgroup span="2" class="monkey"></colgroup>
<colgroup span="3" class="potato"></colgroup>
<tr>
<td>HTML</td>
<td>should</td>
<td>always</td>
<td>play</td>
<td>nice</td>
</tr>
</table>

This would create a table with 5 columns in a single row, the first two set to the class monkey, the next the set to the class potato. So 'HTML' and 'should' would display according to monkey, while 'always', 'play', and 'nice' would display according to potato (works with other things, fonts, etc, just an example). These attributes would also be assigned to the same columns in any additional row.
Doesn't work in Konqueror or Safari... and I don't think it works in Mozilla either, but it does in IE. *shrug*

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

6

Thursday, August 14th 2003, 8:02pm

Can you file a bugreport for KHTML on http://bugs.kde.org/ for this nice little testcase?

thanks,
_
Qt/KDE Developer
Debian User