Freepages-Help-L Archives

Archiver > Freepages-Help > 2007-06 > 1181910769


From: Patricia Geary <>
Subject: Re: [FreeHelp] CSS Based Templates
Date: Fri, 15 Jun 2007 08:32:49 -0400
References: <0MKpCa-1Hyv7b0zoi-0001eh@mrelay.perfora.net><005201c7aed8$56557ac0$640fa8c0@Villandra2>
In-Reply-To: <005201c7aed8$56557ac0$640fa8c0@Villandra2>


At 07:04 PM 6/14/2007, Dora Smith wrote:
>How lean it can be? The reason why WORD makes HUGE HTML files is
>that it uses CSS. Plain ol' HTML does teh same things far more
>succinctly. The whole way CSS is set up necessarly takes up huge
>amounts of file space. To add a line break you need an entire
>program to define what's a line break and what it looks like, and
>another whole program to call the program to tell it what to do. I
>mean.... ????
===========snip============

Word is first and foremost a word processor. It will allow you to
save your pages in HTML format but you still get all the junk code it
creates. css stands for cascading style sheet. a style sheet is a
separate document that is either embedded in the top of your page or
for the best solution is a completely separate document that is loaded once.

If you use the external style sheet with ALL your styles, the html
document is just that - a document with just your code and NO styling
at all. Take a look at the simplest of the templates
http://www.genealogy-web-creations.com/css-layouts/full-page.html If
you view the source of the page you will see it is strictly the html
code and the content. All styling is on the attached syle sheet.

Word cannot create that kind of a file. Word is meant to be used as a
word processor where the document is then printed. The styles need to
be in the document so the printer knows how the content should look.
If you try and save it as a web page it will still contain all of the styles.

pat


----------
Pat Geary, Microsoft MVP - FrontPage
We discuss FrontPage and Expression Web
http://freepages.genealogy.rootsweb.com/~gearyfamily/frontpage/
http://freepages.genealogy.rootsweb.com/~gearyfamily/expression-web/

Genealogy Web Design Tips and Tutorials
http://www.genealogy-web-creations.com/
http://www.blog.family-genealogy-online.com/


This thread: