.css comparison

  • Thread starter Thread starter gary
  • Start date Start date
G

gary

As a general rule when using FP 2002, are larger (more code) files produced
if .css is used than if .css is not used?
 
It depends on what you are doing on your pages.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
A theme adds extra files and code, but if you have a 5 to 10 page site, and
have optimized any added images, I wouldn't worry to much.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
The .css file didn't overload the page but it added about 20 kb and I was
just curious as to why. I think I read somewhere that 2003 has made the .css
lighter but that could be just some marketing hype.
 
Actually many of the 2003 themes have made the css files considerably larger because they include css for STS sites

--



| The .css file didn't overload the page but it added about 20 kb and I was
| just curious as to why. I think I read somewhere that 2003 has made the .css
| lighter but that could be just some marketing hype.
| | > A theme adds extra files and code, but if you have a 5 to 10 page site,
| and
| > have optimized any added images, I wouldn't worry to much.
| >
| > --
| >
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| >
| > FrontPage Resources, Forums, WebCircle,
| > MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| > | > > I was using the Edge theme with text, two photos and a few graphics.
| > > | > > > It depends on what you are doing on your pages.
| > > >
| > > > --
| > > >
| > > > ==============================================
| > > > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > > > WEBMASTER Resources(tm)
| > > >
| > > > FrontPage Resources, Forums, WebCircle,
| > > > MS KB Quick Links, etc.
| > > > ==============================================
| > > > To assist you in getting the best answers for FrontPage support see:
| > > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > >
| > > > | > > > > As a general rule when using FP 2002, are larger (more code) files
| > > > produced
| > > > > if .css is used than if .css is not used?
| > > > >
| > > > >
| > > >
| > > >
| > >
| > >
| >
| >
|
|
 
gary said:
The .css file didn't overload the page but it added about 20 kb and I was
just curious as to why. I think I read somewhere that 2003 has made the ..css
lighter but that could be just some marketing hype.

I don't use the themes so I can't speak directly about the implementation in
FP. But in general, using CSS should _reduce_ your page sizes. Ideally,
you should use an external .css file rather than embed the style info
directly into each page. This is good practice for a number of reasons:
- visitors only download the style info once
- site wide changes are easily implemented
- you can provide alternative styles for users with special needs such as
screen readers (for vision impaired) or to modify how pages are displayed
when printing

When a theme adds graphics to a page, such as custom bulleted lists or other
decorative elements, that will impact your page size, but it's not because
of the CSS, per se. Admittedly, that's an academic distinction, but the
question was whether CSS itself adds page weight. :) But if FP adds style
info to each page, then yes, it will increase your page size.
 
Back
Top