Gentoo Archives: gentoo-dev

From: Terje Kvernes <terjekv@××××××××.no>
To: Colin Morey <Peitolm@g.o>
Cc: tclark@×××××.com, gentoo-dev@g.o
Subject: Re: [gentoo-dev] documenting using LVM during the install.
Date: Sun, 11 Aug 2002 10:25:22
Message-Id: wxxwuqxju3i.fsf@nommo.uio.no
In Reply to: Re: [gentoo-dev] documenting using LVM during the install. by Colin Morey
1 Colin Morey <Peitolm@g.o> writes:
2
3 > On Sat, 2002-08-10 at 14:41, Terje Kvernes wrote:
4 >
5 > > the Gentoo logo thing on the top left. it breaks in mozilla-based
6 > > browsers.
7 >
8 > /me notes that it currently looks fine under galeon.
9
10 of course it does. it uses a rendering engine that actually works.
11 *sigh*
12
13 > > <url: http://validator.w3.org > is my preferred validator, but
14 > > anyway.
15 >
16 > if you've made some changes to the root .xsl,
17
18 uhm yes, lots of changes, mostly cleanup and adding required
19 attributes, doctype and that sort of thing.
20
21 > would you mind emailing myself a diff between your revised issue and
22 > the version currently in cvs..
23
24 I'm going to redo the work and see if I can spot when the image
25 breaks apart first. for a hint, here is the revised xsl against
26 the one from guide-xml-latest.tar.gz, as of 26th of July.
27
28
29 --- /var/gentoo-src/gentoo-web/xsl/guide-main.xsl Tue Jul 23 19:52:21 2002
30 +++ /var/gentoo-src/gentoo-web/xsl/guide-main.terjekv.xsl Sat Aug 10 13:09:34 2002
31 @@ -1,9 +1,16 @@
32 <?xml version="1.0" encoding="iso-8859-15"?>
33 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
34 - <xsl:output encoding="iso-8859-15" method="html" indent="yes"/>
35 + <xsl:output
36 + encoding="iso-8859-15"
37 + method="html"
38 + indent="yes"
39 + version="4.01"
40 + omit-xml-declaration="yes"
41 + media-type="text/html" />
42 +
43 <xsl:preserve-space elements="pre"/>
44 <xsl:template match="img">
45 - <img src="{@src}"/>
46 + <img src="{@src}" width="@{width}" height="{@height}" alt="{@alt}"/>
47 </xsl:template>
48 <xsl:template match="/guide">
49 <html>
50 @@ -20,26 +27,24 @@
51 <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>
52 </title>
53 </head>
54 - <body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff">
55 + <body bgcolor="#ffffff" style="padding: 0; margin: 0">
56 <!--<table border="0" width="100%" cellspacing="0" cellpadding="0">-->
57 <table width="100%" border="0" cellspacing="0" cellpadding="0">
58 <tr>
59 <td valign="top" height="125" bgcolor="#45347b">
60 <table cellspacing="0" cellpadding="0" border="0" width="193">
61 <tr>
62 - <td class="logobg" valign="top" align="center" height="88">
63 - <a href="/index.html">
64 - <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"/>
65 - </a>
66 - </td>
67 - </tr>
68 - <tr>
69 - <td class="logobg" valign="top" align="center" height="36">
70 - <a href="/index.html">
71 - <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"/>
72 - </a>
73 - </td>
74 - </tr>
75 + <td class="logobg" valign="top" align="center"
76 + height="88"><a href="/index.html"><img
77 + border="0"
78 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"
79 + height="88" width="193"
80 + alt="Gentoo Logo"/></a></td></tr>
81 + <tr><td class="logobg" valign="top" align="center" height="31"><a href="/index.html"><img border="0"
82 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"
83 + alt="To index"
84 + width="193"
85 + height="31"/></a></td></tr>
86 </table>
87 </td>
88 <!-- <td width="99%" valign="bottom" bgcolor="#000000">
89 @@ -103,7 +108,7 @@
90 <xsl:apply-templates select="author"/>
91
92 </p> -->
93 - <form><b>Contents</b>:
94 + <form action=""><b>Contents</b>:
95 <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><!--
96 &#160;<xsl:number/>&#160;<a class="altlink" href="#{$chapid}"><xsl:value-of select="title"/></a><br/>
97 <xsl:value-of select="/guide/@link"/>
98 @@ -119,7 +124,12 @@
99 <table border="0" cellspacing="5" cellpadding="0">
100 <tr>
101 <td>
102 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
103 + <img
104 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
105 + width="125"
106 + height="1"
107 + alt=""
108 + />
109 </td>
110 </tr>
111 <tr>
112 @@ -129,7 +139,12 @@
113 </tr>
114 <tr>
115 <td>
116 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
117 + <img
118 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
119 + width="125"
120 + height="1"
121 + alt=""
122 + />
123 </td>
124 </tr>
125 <tr>
126 @@ -139,7 +154,12 @@
127 </tr>
128 <tr>
129 <td>
130 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
131 + <img
132 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
133 + width="125"
134 + height="1"
135 + alt=""
136 + />
137 </td>
138 </tr>
139 <tr>
140 @@ -148,7 +168,12 @@
141 <!--
142 <tr>
143 <td>
144 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
145 + <img
146 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
147 + width="125"
148 + height="1"
149 + alt=""
150 + />
151 </td>
152 </tr>
153 <tr>
154 @@ -162,7 +187,12 @@
155 </tr> -->
156 <tr>
157 <td>
158 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
159 + <img
160 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
161 + width="125"
162 + height="1"
163 + alt=""
164 + />
165 </td>
166 </tr>
167 <tr>
168 @@ -178,14 +208,19 @@
169 <input type="hidden" name="no_shipping" value="1"/>
170 <input type="hidden" name="return" value="http://www.gentoo.org"/>
171 <input type="hidden" name="cancel_return" value="http://www.gentoo.org"/>
172 - <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!"/>
173 + <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!"/>
174 </form>
175 <!-- End PayPal Logo -->
176 </td>
177 </tr>
178 <tr>
179 <td>
180 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
181 + <img
182 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
183 + width="125"
184 + height="1"
185 + alt=""
186 + />
187 </td>
188 </tr>
189 <tr>
190 @@ -200,7 +235,12 @@
191 </tr>
192 <tr>
193 <td>
194 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
195 + <img
196 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
197 + width="125"
198 + height="1"
199 + alt=""
200 + />
201 </td>
202 </tr>
203 </table>
204 @@ -234,19 +274,17 @@
205 <td valign="top" height="125" width="1%" bgcolor="#45347b">
206 <table cellspacing="0" cellpadding="0" border="0" width="100%">
207 <tr>
208 - <td class="logobg" valign="top" align="center" height="88">
209 - <a href="/index.html">
210 - <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"/>
211 - </a>
212 - </td>
213 - </tr>
214 - <tr>
215 - <td class="logobg" valign="top" align="center" height="36">
216 - <a href="/index.html">
217 - <img border="0" src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"/>
218 - </a>
219 - </td>
220 - </tr>
221 + <td class="logobg" valign="top" align="center"
222 + height="88"><a
223 + href="/index.html"><img
224 + border="0"
225 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop-s.jpg"
226 + height="88" width="193" alt="Gentoo Logo"/></a></td></tr>
227 + <tr><td class="logobg" valign="top" align="center" height="31"><a href="/index.html"><img border="0"
228 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gbot-s.gif"
229 + alt="To index"
230 + width="193"
231 + height="31"/></a></td></tr>
232 </table>
233 </td>
234 <td colspan="2" valign="bottom" align="left" bgcolor="#000000">
235 @@ -507,7 +545,12 @@
236 <table border="0" cellspacing="5" cellpadding="0">
237 <tr>
238 <td>
239 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
240 + <img
241 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
242 + width="125"
243 + height="1"
244 + alt=""
245 + />
246 </td>
247 </tr>
248 <tr>
249 @@ -517,7 +560,12 @@
250 </tr>
251 <tr>
252 <td>
253 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
254 + <img
255 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
256 + width="125"
257 + height="1"
258 + alt=""
259 + />
260 </td>
261 </tr>
262 <tr>
263 @@ -540,7 +588,12 @@
264 </tr>
265 <tr>
266 <td>
267 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
268 + <img
269 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
270 + width="125"
271 + height="1"
272 + alt=""
273 + />
274 </td>
275 </tr>
276 <tr>
277 @@ -555,7 +608,12 @@
278 </tr>
279 <tr>
280 <td>
281 - <img src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"/>
282 + <img
283 + src="http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/line.gif"
284 + width="125"
285 + height="1"
286 + alt=""
287 + />
288 </td>
289 </tr>
290 </table>
291 @@ -801,9 +859,9 @@
292 </font>
293 </xsl:template>
294 <xsl:template match="i">
295 - <font class="input">
296 + <em>
297 <xsl:apply-templates/>
298 - </font>
299 + </em>
300 </xsl:template>
301 <xsl:template match="b">
302 <b>
303
304
305 --
306 Terje

Replies

Subject Author
Re: [gentoo-dev] documenting using LVM during the install. Colin Morey <peitolm@g.o>