Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
User Journal

Journal Chacham's Journal: Bug: IE: TABLE: Rules: Groups & TD's COLSPAN (right border)

Just found a bug in IE's rendering of an HTML 4 TABLE element. Basically, if rules are on groups, a COLGROUP is specified, and a TD element spans into a second COLGROUP, that TD element does not get a right side border.

Here's an example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
                      "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
  <META Http-Equiv = "Content-Type" Content = "Text/HTML;Charset=ISO-8859-1">
  <TITLE>HTML Table Test</TITLE>
</HEAD>
<BODY>
  <TABLE Border = "1" Frame = "Void" Rules = "Groups" Summary = "A COLGROUP rules test.">
   <COLGROUP>
   <COLGROUP>
   <COLGROUP>
   <COLGROUP>
   <THEAD>
    <TR>
     <TH>1
     <TH>2
     <TH>3
     <TH>4
    </TR>
   </THEAD>
   <TBODY>
    <TR>
     <TD>A
     <TD ColSpan = "2">B
     <TD>C
     </TR>
    </TBODY>
  </TABLE>
</BODY>
</HTML>
This discussion has been archived. No new comments can be posted.

Bug: IE: TABLE: Rules: Groups & TD's COLSPAN (right border)

Comments Filter:

I have never seen anything fill up a vacuum so fast and still suck. -- Rob Pike, on X.

Working...