Re: HTML advice (was: Re: Hello, I'm new too)
From: | Carlos Thompson <carlos_thompson@...> |
Date: | Monday, October 23, 2000, 22:30 |
Andrew Chayni wabbe:
> > Or give it margins. To cater for different browsers with different
> > tastes, you need both the <marginwidth> and <leftmargin>
attributes.
> > which do the same thing:
> >
> > <body marginwidth="50" leftmargin="50">
>
> marginwidth and leftmargin are are not part of the HTML 4.0
standard.
Well... no. HTML is not designed to make sure pages look the same in
any conformant browser. It is design to logically mark presentation
of content, which is truer in HTML 4.0 when exact presentation must be
left to a stylesheet, and the standard for stylesheets are Cascading
Style Sheet level 2.0 (CSS 2).
Well, no browser yet is 100% compilant with CCS 1, less so with CSS 2.
MSIE 5 for Mac is the closest match.
Note that W3C design goals are that HTML could be used with any
posible user agent, not only graphical browsers. But if you want to
achieve an exact look and feel, there are many non-standard ways... or
you can just make a bitmap picture.
My advice: concentrate in content, mark content with logical HTML, and
add a stylesheet that reflects the way you would like your page to be
displayed. Remind that any user agent could discard your stylesheet
or any user can tell the hypotetical compilant user agent to override
any style settings, but if you have focused in content, your pages
will still be usable... even if they will not look as you planed.
Or use Portable Document Format (PDF) from Adobe Acrobat, instead of
HTML... but then people without Acrobat Reader won't be able to look
at your pages. (The same applies to PostScript, Flash, Power Point,
etc.)
-- Carlos Th