From: Terje Kvernes <terjekv@math.uio.no>
To: Colin Morey <Peitolm@gentoo.org>
Cc: tclark@telia.com, gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] documenting using LVM during the install.
Date: 11 Aug 2002 17:25:21 +0200 [thread overview]
Message-ID: <wxxwuqxju3i.fsf@nommo.uio.no> (raw)
In-Reply-To: <1029018174.6866.10.camel@toe.random-chaos.org.uk>
Colin Morey <Peitolm@gentoo.org> writes:
> On Sat, 2002-08-10 at 14:41, Terje Kvernes wrote:
>
> > the Gentoo logo thing on the top left. it breaks in mozilla-based
> > browsers.
>
> /me notes that it currently looks fine under galeon.
of course it does. it uses a rendering engine that actually works.
*sigh*
> > <url: http://validator.w3.org > is my preferred validator, but
> > anyway.
>
> if you've made some changes to the root .xsl,
uhm yes, lots of changes, mostly cleanup and adding required
attributes, doctype and that sort of thing.
> would you mind emailing myself a diff between your revised issue and
> the version currently in cvs..
I'm going to redo the work and see if I can spot when the image
breaks apart first. for a hint, here is the revised xsl against
the one from guide-xml-latest.tar.gz, as of 26th of July.
--- /var/gentoo-src/gentoo-web/xsl/guide-main.xsl Tue Jul 23 19:52:21 2002
+++ /var/gentoo-src/gentoo-web/xsl/guide-main.terjekv.xsl Sat Aug 10 13:09:34 2002
@@ -1,9 +1,16 @@
<?xml version="1.0" encoding="iso-8859-15"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <xsl:output encoding="iso-8859-15" method="html" indent="yes"/>
+ <xsl:output
+ encoding="iso-8859-15"
+ method="html"
+ indent="yes"
+ version="4.01"
+ omit-xml-declaration="yes"
+ media-type="text/html" />
+
<xsl:preserve-space elements="pre"/>
<xsl:template match="img">
- <img src="{@src}"/>
+ <img src="{@src}" width="@{width}" height="{@height}" alt="{@alt}"/>
</xsl:template>
<xsl:template match="/guide">
<html>
@@ -20,26 +27,24 @@
<xsl:choose><xsl:when test="subtitle"><xsl:value-of select="title"/>: <xsl:value-of select="subtitle"/></xsl:when><xsl:otherwise><xsl:value-of select="title"/></xsl:otherwise></xsl:choose>
</title>
</head>
- <body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff">
+ <body bgcolor="#ffffff" style="padding: 0; margin: 0">
<!--<table border="0" width="100%" cellspacing="0" cellpadding="0">-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" height="125" bgcolor="#45347b">
<table cellspacing="0" cellpadding="0" border="0" width="193">
<tr>
- <td class="logobg" valign="top" align="center" height="88">
- <a href="/index.html">
- <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"/>
- </a>
- </td>
- </tr>
- <tr>
- <td class="logobg" valign="top" align="center" height="36">
- <a href="/index.html">
- <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"/>
- </a>
- </td>
- </tr>
+ <td class="logobg" valign="top" align="center"
+ height="88"><a href="/index.html"><img
+ border="0"
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"
+ height="88" width="193"
+ alt="Gentoo Logo"/></a></td></tr>
+ <tr><td class="logobg" valign="top" align="center" height="31"><a href="/index.html"><img border="0"
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"
+ alt="To index"
+ width="193"
+ height="31"/></a></td></tr>
</table>
</td>
<!-- <td width="99%" valign="bottom" bgcolor="#000000">
@@ -103,7 +108,7 @@
<xsl:apply-templates select="author"/>
</p> -->
- <form><b>Contents</b>:
+ <form action=""><b>Contents</b>:
<select name="url" size="1" OnChange="location.href=form.url.options[form.url.selectedIndex].value" style="font-family:Arial,Helvetica, sans-serif; font-size:10"><xsl:for-each select="chapter"><xsl:variable name="chapid">doc_chap<xsl:number/></xsl:variable><!-- <xsl:variable name="me"><xsl:value-of select="/guide/@link"/></xsl:variable>--><option value="#{$chapid}"><xsl:number/>. <xsl:value-of select="title"/></option><!--
 <xsl:number/> <a class="altlink" href="#{$chapid}"><xsl:value-of select="title"/></a><br/>
<xsl:value-of select="/guide/@link"/>
@@ -119,7 +124,12 @@
<table border="0" cellspacing="5" cellpadding="0">
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -129,7 +139,12 @@
</tr>
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -139,7 +154,12 @@
</tr>
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -148,7 +168,12 @@
<!--
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -162,7 +187,12 @@
</tr> -->
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -178,14 +208,19 @@
<input type="hidden" name="no_shipping" value="1"/>
<input type="hidden" name="return" value="http://www.gentoo.org"/>
<input type="hidden" name="cancel_return" value="http://www.gentoo.org"/>
- <input type="image" src="http://images.paypal.com/images/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
+ <input type="image" src="http://images.paypal.com/images/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>
</form>
<!-- End PayPal Logo -->
</td>
</tr>
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -200,7 +235,12 @@
</tr>
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
</table>
@@ -234,19 +274,17 @@
<td valign="top" height="125" width="1%" bgcolor="#45347b">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
- <td class="logobg" valign="top" align="center" height="88">
- <a href="/index.html">
- <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"/>
- </a>
- </td>
- </tr>
- <tr>
- <td class="logobg" valign="top" align="center" height="36">
- <a href="/index.html">
- <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"/>
- </a>
- </td>
- </tr>
+ <td class="logobg" valign="top" align="center"
+ height="88"><a
+ href="/index.html"><img
+ border="0"
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"
+ height="88" width="193" alt="Gentoo Logo"/></a></td></tr>
+ <tr><td class="logobg" valign="top" align="center" height="31"><a href="/index.html"><img border="0"
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"
+ alt="To index"
+ width="193"
+ height="31"/></a></td></tr>
</table>
</td>
<td colspan="2" valign="bottom" align="left" bgcolor="#000000">
@@ -507,7 +545,12 @@
<table border="0" cellspacing="5" cellpadding="0">
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -517,7 +560,12 @@
</tr>
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -540,7 +588,12 @@
</tr>
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
<tr>
@@ -555,7 +608,12 @@
</tr>
<tr>
<td>
- <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
+ <img
+ src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
+ width="125"
+ height="1"
+ alt=""
+ />
</td>
</tr>
</table>
@@ -801,9 +859,9 @@
</font>
</xsl:template>
<xsl:template match="i">
- <font class="input">
+ <em>
<xsl:apply-templates/>
- </font>
+ </em>
</xsl:template>
<xsl:template match="b">
<b>
--
Terje
next prev parent reply other threads:[~2002-08-11 15:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-09 0:19 [gentoo-dev] documenting using LVM during the install Terje Kvernes
2002-08-09 0:30 ` Jon Nelson
2002-08-09 1:37 ` Terje Kvernes
2002-08-10 0:10 ` Terje Kvernes
2002-08-10 7:55 ` Tony Clark
2002-08-10 10:19 ` Terje Kvernes
2002-08-10 11:23 ` Terje Kvernes
2002-08-10 12:03 ` Tony Clark
2002-08-10 13:41 ` Terje Kvernes
2002-08-10 22:22 ` Colin Morey
2002-08-11 15:25 ` Terje Kvernes [this message]
2002-08-11 6:54 ` Colin Morey
2002-08-17 22:46 ` Terje Kvernes
2002-08-17 23:47 ` Colin Morey
2002-08-18 0:20 ` Terje Kvernes
2002-08-18 10:36 ` Colin Morey
2002-08-09 2:59 ` Matthew Kennedy
2002-08-09 3:36 ` Jack Morgan
2002-08-09 4:34 ` Terje Kvernes
-- strict thread matches above, loose matches on Subject: below --
2002-08-09 5:50 [gentoo-dev] Documenting " Frederic Soulier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wxxwuqxju3i.fsf@nommo.uio.no \
--to=terjekv@math.uio.no \
--cc=Peitolm@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=tclark@telia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox