Problems with new web design

Ceri Davies ceri at submonkey.net
Thu Nov 3 04:10:23 PST 2005


On Thu, Nov 03, 2005 at 12:36:04PM +0100, Rudolf Cejka wrote:
> 
> Hello, I'm working on the new web design translation and I have found
> several things:
> 
> - There are problems with links "Skip site navigation" and "Skip section
>   navigation" in html files generated from sgml, because sgmlnorm converts
>   referenced places from <div id="content"> / <div id="contentwrap">
>   to <div id="CONTENT"> / <div id="CONTENTWRAP">, but referencing places
>   <a href="#content"> and <a href="#contentwrap"> are leaved as they are.
>   Explorer seems to be case insensitive, however Mozilla and Lynx are case
>   sensitive and for them the links are broken.

Yeah, that's sucked for ever.  I have no idea why sgmlnorm does that,
but you can't stop it.

> - What to do with author entity in includes.header.sgml and
>   includes.header.xsl? It should be either removed (I could not find any
>   current functional reference), or fixed, because now it produces
>   different results "home | contact | legal | Legal Notices | Copyright"
>   from sgml and "mail at FreeBSD.org \n Legal Notices | Copyright" from xsl/xml.

If it's used, it should match.  Otherwise I'm not worried.

> - Date at the end of pages should be synchronized between sgml and xsl/xml:
>   Last modified: 2005/10/06 19:27:36 for sgml,
>   $FreeBSD: ... Exp $ fro xsl/xml.

Actually that should be fixed to use the document date rather than the
one from the include file.  Doesn't matter a hoot to me what format it
is in.

> - Container width 765px seems to be too small, even as a minimal width.
>   In my Mozilla, just en, it, and ja have sufficient space for horizontal
>   site navigation for both normal and large text sizes. De, es, and fr
>   have insufficient space for large text and I have problems with cs too.
>   Ru seems to have even more problems with width for large text.

I don't even have an opinion.

> - There is missing space in
>   "Skip site navigation (1)Skip section navigation (2)" in html files
>   generated from xsl/xml sources, so here is the patch:
> 
> --- includes.header.xsl.orig	Thu Nov  3 11:47:49 2005
> +++ includes.header.xsl	Thu Nov  3 11:48:54 2005
> @@ -46,6 +46,7 @@
>    
>    <xsl:variable name="header2">
>              <span class="txtoffscreen"><a href="#content" title="Skip site navigation" accesskey="1">Skip site navigation</a> (1)</span>
> +            <xsl:text> </xsl:text>
>              <span class="txtoffscreen"><a href="#contentwrap" title="Skip section navigation" accesskey="2">Skip section navigation</a> (2)</span>
>              <div id="headercontainer">

Yep, commit away.

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-www/attachments/20051103/19f18d49/attachment.bin


More information about the freebsd-www mailing list