From owner-freebsd-questions@FreeBSD.ORG Thu May 29 07:41:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A1311065674 for ; Thu, 29 May 2008 07:41:06 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E8A568FC18 for ; Thu, 29 May 2008 07:41:05 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m4T7eqD5019517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 May 2008 08:41:00 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m4T7eqD5019517 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1212046860; bh=UkcIIGTSj0Gv71 j31bviPdCVgrIiRPh6TBRgGar0lds=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<483E5E04.9 090400@infracaninophile.co.uk>|Date:=20Thu,=2029=20May=202008=2008: 40:52=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.14=20(X11/20080506)|MIME-Version:=201.0|To:=20Gary=20Kline= 20|CC:=20FreeBSD=20Mailing=20List=20|Subject:=20Re:=20Stumped::=20web=20HTML.=20=20C aution,=20may=20be=20OT.|References:=20<20080529065732.GA36261@thou ght.org>|In-Reply-To:=20<20080529065732.GA36261@thought.org>|X-Enig mail-Version:=200.95.0|Content-Type:=20text/plain=3B=20charset=3DUT F-8|Content-Transfer-Encoding:=207bit; b=WE+WzvahGf8Cv/Y0MkZm3D6ves neo+D13iPfa8kZ6Sy9kITC7rH6GYDkBZMykSEsrOrIK1RBq7rJleHxNE1f2xx0t6kKS GLkM3Okm3fv8ueXIMNX9suUZSoZjgGOoruB9LmLnzwZPi+hcofsZuP3lZPDQL3YNIpa H63mXAb45i8= Message-ID: <483E5E04.9090400@infracaninophile.co.uk> Date: Thu, 29 May 2008 08:40:52 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.14 (X11/20080506) MIME-Version: 1.0 To: Gary Kline References: <20080529065732.GA36261@thought.org> In-Reply-To: <20080529065732.GA36261@thought.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Thu, 29 May 2008 08:41:00 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Mailing List Subject: Re: Stumped:: web HTML. Caution, may be OT. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 07:41:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Gary Kline wrote: > Other than beginning from Zero and trying to determine exactly > what causes firefox and konq to diverge, do any of you have any > other ideas? I've never learned an HTML editors because of the > learning curve. But:: if/when I come up with a better design for > my home page, I'm willing to try again:: any best (simple) HTML > editors in ports? It's bit OT really. But wotthehell, wotthehell. I've found the best approach is to make liberal use of http://validator.w3.org/ -- if your HTML validates correctly according to which ever standard you apply, and similarly if your CSS validates correctly as CSS 2.0 then you should get a pretty similar result in virtually all browsers. Use HTML Tidy (ports: www/tidy-devel) to clean up your HTML automatically, and strongly prefer CSS over in-line formatting as tidy steers you towards. One thing to watch out for though is an important difference between the XHTML 1.0 standard and the HTML 4.01 standard (http://www.w3.org/MarkUp/) XHTML 1.0 is an XML language and should be served using the 'application/xml+xhtml' MIME type, unlike HTML 4.01 which should be served as 'text/html' (http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/) I've found that this can make quite a difference to the way a page is rendered in FireFox. The HTML 4.01 standard is probably your best bet for maximum interoperability with all sorts of different desktop browsers, whereas XHTML is better if you need access by stuff like Mobile Phones or text-to-speech systems for the blind. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkg+XgQACgkQ3jDkPpsZ+VanhwCfYBTlfL0r6Jz1iwaq7RYgfKde sYsAoKO8lsylmdCPMMcF4JRk93fJ675h =khay -----END PGP SIGNATURE-----