From: Warren Oates on 7 Mar 2010 07:47 In article <1jf0bgg.9f5c2t1k7zu4bN%dempson(a)actrix.gen.nz>, dempson(a)actrix.gen.nz (David Empson) wrote: > > In any case, HTML is not WYSIWIG, and expecting it to display exactly > the same way in two browsers or two platforms is not a good idea. The > user's preferences may result in different fonts being used, which may > have considerably different sizes. Every browser has its own little internal style sheet that it uses. They're all different. One can achieve cross-browser uniformity (pixel by pixel if one is especially clever) but one doesn't use Komposer for this. Now John, look into the <h> containers. They're designed for the kind of thing you want to do, and can be styled quite effectively, with the added advantage that one can create a pretty concise outline of one's document, if one is even reasonably clever. <big> <big> <big> <big> <big> <big> <big> <big> isn't going to cut it. Anyway, you should be learning to keep your content separate from your style. As well, it should be noted that one _can_ use lists too, you know, and, gawdhepus, even tables, just not where you've put yours. Your pages are very simple, really, and a good place to start with a course in HTML. -- Very old woody beets will never cook tender. -- Fannie Farmer
From: David Empson on 7 Mar 2010 18:01 John <jwolf6589(a)NOSPAMgmail.com> wrote: > In article <1jf0bgg.9f5c2t1k7zu4bN%dempson(a)actrix.gen.nz>, > dempson(a)actrix.gen.nz (David Empson) wrote: > > > If you want something approximately the same in both browsers, use <font > > size="+4"> instead of multiple <big> tags. > > > > In any case, HTML is not WYSIWIG, and expecting it to display exactly > > the same way in two browsers or two platforms is not a good idea. The > > user's preferences may result in different fonts being used, which may > > have considerably different sizes. > > I did. > > <div style="text-align: center; color: rgb(0, 0, 153);"><big><font > size="3"><big><span style="font-weight: bold;"><big style="color: > rgb(102, 0, 204);"><big><big>What does the Bible say about Church > Worship?</big></big></big><br> > </span></big></font></big></div> > > Font size 3 looks fine. That's even worse. You've now specified a fixed size font then modified it with multiple <big> tags, which will make it an inconsistent size again (depending on the browser), as well as having a redundant <big></big> outisde the <font size="3"></font>. A much better solution (as mentioned by another poster) is to eliminate all the <big> tags and use a <h> tag (heading) instead, since the information is a heading. -- David Empson dempson(a)actrix.gen.nz
From: Jeffrey Goldberg on 8 Mar 2010 00:11 On 2010-03-07 3:27 PM, John wrote: > Font size 3 looks fine. Font size 3 is undefined according to the HTML specifications. Some browsers will try to treat that as 3pts, while others will treated it as stepped up in size twice. Your approach to HTML is wrong. The kind of tinkering that you are doing, even if you get it to "look right" in the browsers that you happen to test with, there is every reason to expect that things will "break" again when new browser versions are released. The only way to future proof your HTML is to use conservative and standard based HTML. I have documents that were created (to sort of look like power point slides) in 1998 that still render "correctly" today. This is because I used the HTML 3.2 standard with simple style sheets at the time. -j -- Jeffrey Goldberg http://goldmark.org/jeff/ I rarely read HTML or poorly quoting posts Reply-To address is valid
|
Pages: 1 Prev: Stopping Mail trying to send a message Next: BBEdit vs. Text Wrangler |