Hi!
here are some things I just did:
http://domm.zsi.at/modperl-site-domm/
* removed some already solved things out of TODO
* removed the nbsp hack in tail, it seems to work without it in all browsers
I have access to (Mozilla, Opera, IE5, NS4)
* I moved some stuff in style.css around a little bit to remove a anoying
effect in Opera with hover: in the original version, the size of the text
would change when hovering. I now moved font-size and font-family into the
base style def (i.e. td.download, div.nonselectedmenuitem,
div.selectedmenuitem) and let the a:* styles inherit from it. also saves
some bytes ...
* As I don't really like any of the download-pictures, I re-did the old text
only design, what do you think?
I tested before and after the patch with all browsers (see above), looks
great on all of them!
--
D_OMM +----> http://domm.zsi.at <-----+
O_xyderkes | neu: Arbeitsplatz |
M_echanen | http://domm.zsi.at/d/d162.html |
M_asteuei +--------------------------------+
Index: TODO
===================================================================
RCS file: /home/cvspublic/modperl-docs/TODO,v
retrieving revision 1.23
diff -u -r1.23 TODO
--- TODO 27 Feb 2002 03:20:58 -0000 1.23
+++ TODO 2 Mar 2002 21:36:13 -0000
@@ -6,16 +6,6 @@
- NS4, if PRE is long the page is scrolled to the right! See
dst_html/docs/2.0/devel/debug_c/debug_c.html#Analyzing_the_core_File
-- in Mozilla, there are no borders around the NavBar tables, whereas with IE
- and Opera, there are. which way is correct/better?
-
-- with Opera and IE, there is too little spacing between the ads. Maybe add
- a br or may be not?
-
-- there are empty prev/up/next boxes on the main page, looking sort of
- strange. shoulf we remove those completly, if there is no UP or use
- really-empty images as placeholders?
-
- since we have <hr> before the tail on all pages, we don't need the
x 300 hack, since hr will ensure that the page will always
span 100% to the right. the local_nav table also spans 100%. But
Index: src/style.css
===================================================================
RCS file: /home/cvspublic/modperl-docs/src/style.css,v
retrieving revision 1.35
diff -u -r1.35 style.css
--- src/style.css 27 Feb 2002 03:30:10 -0000 1.35
+++ src/style.css 2 Mar 2002 21:36:20 -0000
@@ -33,34 +33,37 @@
background-color: #525d76;
}
-div.nonselectedmenuitem a:link, div.nonselectedmenuitem a:visited,
div.nonselectedmenuitem a:active {
- font-family: verdana, arial, helvetica, sans-serif;
+
+div.nonselectedmenuitem {
+ padding: 3px;
+ background-color: #ffffff;
font-size: 0.9em;
- color: #525d76;
- text-decoration: none;
+ font-family: verdana, arial, helvetica, sans-serif;
}
-div.selectedmenuitem a, div.selectedmenuitem a:link, div.selectedmenuitem
a:visited, div.selectedmenuitem a:active {
- font-family: verdana, arial, helvetica, sans-serif;
- font-size: 0.9em;
- color: #ffffff;
+div.nonselectedmenuitem a:link, div.nonselectedmenuitem a:visited,
div.nonselectedmenuitem a:active {
+ color: #525d76;
text-decoration: none;
}
-div.nonselectedmenuitem {
- padding: 3px;
- background-color: #ffffff;
+
+div.nonselectedmenuitem a:hover {
+ color: #999999;
}
div.selectedmenuitem {
padding: 3px;
background-color: #525d76;
+ font-family: verdana, arial, helvetica, sans-serif;
+ font-size: 0.9em;
}
-div.nonselectedmenuitem a:hover {
- color: #999999;
+div.selectedmenuitem a, div.selectedmenuitem a:link, div.selectedmenuitem
a:visited, div.selectedmenuitem a:active {
+ color: #ffffff;
+ text-decoration: none;
}
+
div.selectedmenuitem a:hover {
color: #cccc99;
}
@@ -88,6 +91,8 @@
color: #ffffff;
}
+
+
/* main boxes */
div.leftbox {
position: absolute;
@@ -246,17 +251,18 @@
/* font specs for download widget */
+td.download {
+ font-size: 0.80em;
+ font-family: helvetica, arial, verdana, sans-serif;
+}
+
td.download a:link, td.download a:active , td.download a:visited {
text-decoration: none;
- font-size: 0.85em;
- font-family: helvetica, arial, verdana, sans-serif;
}
td.download a:hover {
text-decoration: none;
color: #666666;
- font-size: 0.85em;
- font-family: helvetica, arial, verdana, sans-serif;
}
/* "spacegif" substitute in menus */
Index: tmpl/custom/html/download_link
===================================================================
RCS file: /home/cvspublic/modperl-docs/tmpl/custom/html/download_link,v
retrieving revision 1.4
diff -u -r1.4 download_link
--- tmpl/custom/html/download_link 22 Feb 2002 09:00:29 -0000 1.4
+++ tmpl/custom/html/download_link 2 Mar 2002 21:38:05 -0000
@@ -11,14 +11,8 @@
END;
-%]
[% BLOCK pdf_doc %]
-<a href="[% doc.pdf_doc.link -%]"><img src="[% doc.dir.abs_doc_root
%]/images/new_pdf.gif" width="34" height="20" border="0" align="middle"
alt="PDF version of the document"> [% doc.pdf_doc.size %]</a>
+[<a href="[% doc.pdf_doc.link -%]">PDF:[% doc.pdf_doc.size %]</a>]
[% END %]
[% BLOCK src_doc %]
-<a href="[% doc.src_doc.link -%]"><img src="[% doc.dir.abs_doc_root
%]/images/new_src.gif" width="34" height="20" border="0" align="middle"
alt="Source version of the document"> [%doc.src_doc.size %]</a>
-[% END %]
-[% BLOCK pdf_doc1 %]
-<a href="[% doc.pdf_doc.link -%]"><img src="[% doc.dir.abs_doc_root
%]/images/ver_pdf.gif" width="31" height="32" border="0" alt="PDF version of
the document"> [% doc.pdf_doc.size %]</a>
-[% END %]
-[% BLOCK src_doc1 %]
-<a href="[% doc.src_doc.link -%]"><img src="[% doc.dir.abs_doc_root
%]/images/ver_src.gif" width="31" height="32" border="0" alt="Source version of
the document"> [%doc.src_doc.size %]</a>
+[<a href="[% doc.src_doc.link -%]">SRC:[%doc.src_doc.size %]</a>]
[% END %]
Index: tmpl/custom/html/tail
===================================================================
RCS file: /home/cvspublic/modperl-docs/tmpl/custom/html/tail,v
retrieving revision 1.8
diff -u -r1.8 tail
--- tmpl/custom/html/tail 21 Feb 2002 08:55:18 -0000 1.8
+++ tmpl/custom/html/tail 2 Mar 2002 21:38:07 -0000
@@ -9,6 +9,3 @@
<br><br>
<!-- end footer (tail)-->
-<!-- start workaround for pages with narrow content -->
-
-<!-- end workaround for pages with narrow content -->
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]