This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ redesign


Hi Tom,

On Sun, 10 Nov 2002, Gerald Pfeifer wrote:
> Note that currently that horizontal bar appears larger than before because
> this is now a true <h2> (previously it looked like a heading in graphical
> browsers, but was not marked up accordingly).

here is a better fix for this problem:

  Use CSS instead of tricky tables (which are not visually appealing
  anyway) to mark <h2>.

In general, I don't think we should rely on CSS for critical markup
yet, but I suppose this does not qualify as critical.

Gerald

Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.47
diff -u -3 -p -r1.47 style.mhtml
--- style.mhtml	11 Nov 2002 23:05:11 -0000	1.47
+++ style.mhtml	11 Nov 2002 23:18:20 -0000
@@ -13,12 +13,11 @@
   <set-var BACKPATH="../">
   <define-container h2>
    <verbatim>
-    <table border="0" cellpadding="4" width="95%"><tr bgcolor="#b0d0ff">
-    <th align="left"><h2>
+    <h2 style="background-color:#B0D0FF">
    </verbatim>
    %body
    <verbatim>
-    </h2></th></tr></table>
+    </h2>
    </verbatim>
   </define-container>
  >


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]