From owner-freebsd-questions@FreeBSD.ORG Sat May 31 04:29: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 5D8B21065772 for ; Sat, 31 May 2008 04:29:06 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 260868FC29 for ; Sat, 31 May 2008 04:29:06 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m4V4T305087074; Fri, 30 May 2008 21:29:03 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 30 May 2008 21:28:58 -0700 (PDT) Date: Fri, 30 May 2008 21:28:58 -0700 From: Gary Kline To: freebsd-questions@freebsd.org Message-ID: <20080531042858.GA23329@thought.org> References: <20080529065732.GA36261@thought.org> <4a89d1190805290039k1f2dedb1he342b4a83d7453a6@mail.gmail.com> <200805291305.22567.kline@thought.org> <20080529220536.GA39115@melon.esperance-linux.co.uk> <20080530023902.GF62524@thought.org> <20080530204950.GA43574@melon.esperance-linux.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080530204950.GA43574@melon.esperance-linux.co.uk> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21++ years of service to the Unix community. X-Spam-Status: No, score=-3.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, FB_WORD1_END_DOLLAR autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org 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: Sat, 31 May 2008 04:29:06 -0000 On Fri, May 30, 2008 at 09:49:50PM +0100, Frank Shute wrote: > On Thu, May 29, 2008 at 07:39:02PM -0700, Gary Kline wrote: > > Questions on validation.... > > > > > 4. > > > > > > Steal a simple page that validates: > > > > > > http://www.shute.org.uk/miscellany.html > > > > > > and use it as a template to hack on. Steal the style sheet too. > > > > > > Validate your webpage as you go along with the w3c validator. > > When I typed in www.thought.org/x.html AFTER having fixed the , there were still 30 faults. The one that really got me was because that one looked 100$ correct. I deleted the META tags; no difference. (( x.html == index.php )). I left the "doctype" on auto and the validator.w3.org couldn't parse my "-//w3c//dtd html 4.0 transitional//en" markup. The err: "the Document Type (-//w3c//dtd html 4.0 transitional//en) is not in the validator's catalog" The index.php and index.html are identical except for the php entry. Any guesses why things like this blowup:: <!doctype html public "-//w3c//dtd html 4.0 transitional//en" > <HTML> <HEAD> <TITLE>Thought Unlimited: www.thought.org > > > > > > > > 5. > > > > > > A few tips: > > > > > > Use
's for layout, not tables. > > > > > > i cannot // hhaven't made sense of
since I first saw it. > > *This* may be where I've confused IE and Konq and it might be the > > easiest way to create the layout that firefox gives me. > >
essentially gives you a box which after setting properties like > font size, background color, margins, position etc. with your > stylesheet you can place on your page and then fill with graphics, > text etc. > And using the CSS, am I right?? I began using the style sheets 10, 10+ years ago. Given that familiarity, it wouldn't be that much of a jump to go back to that mode. ( Besides, TABLE's can be a serious PITA:) I used the website's tidy tool so I saw what I had to do in order to transition. I'll need to study the
stuff. The important thing is that late this afternoon I learned that this stuff is rendered even under IE ... > Have a look at the source and style sheet of my contact page (at the > bottom of this mail) to see how you can use them quite simply. > [[ ... ]] > > > > I didn't understand you could hardwire a textsize; maybe I've > > done it inadvertently ... > > Yeah, you can: > > font-size: 16px > > Use something like (in your style sheet): > > font: italic 120% sans-serif; > > where the 120% sets the size of the font relative to the browsers > setting. > > Say me default font is set to 20px in my browser, then in the former > case the font will render at 16px and in the latter case at 22px. > > I don't know if it's something you did with your pages but it's > something you should be aware of. > Wel, I set and elsewhere Probably the same, come to think of it. > > > > > > > > > > > > Keep an eye out for pages that look nice and validate. View source & > > > then steal chunks of xhtml and css. > > > > me thinks it's going to be a busy 2, 3 weeks, :) gary > -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org