This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > August 2004 > Re: What's all that stuff in the source code?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: What's all that stuff in the source code?
Harlan Messinger

2004-08-26, 12:28 pm


"Pierre Jelenc" <rcpj@panix.com> wrote in message
news:cgird4$1ki$1@reader1.panix.com...
>
> I've been asked to do a favor to a friend and fix the site at
> http://www.cwrpartners.com/
>
> I'm totally baffled by the amount of rubbish in the header section; is
> that the kind of coding that Microsoft Publisher does in real life? I've
> always written my code by hand with a text editor, so I have no idea
> what's going on there.
>
> (Not surprisingly, it is not valid HTML or CSS!)


All Microsoft Office products produce web pages like this. It's an elaborate
layout and data definition language. The proprietary attributes are ignored
by conforming browsers, and the non-HTML, non-CSS declarations and so on are
commented out so that non-IE browsers won't see them.

Pierre Jelenc

2004-08-26, 12:28 pm

Harlan Messinger <h.messinger@comcast.net> writes:
>
> All Microsoft Office products produce web pages like this. It's an elaborate
> layout and data definition language. The proprietary attributes are ignored
> by conforming browsers, and the non-HTML, non-CSS declarations and so on are
> commented out so that non-IE browsers won't see them.


Oy. Thanks; I think I'll beg off the project, I can feel too many
arguments coming!

Pierre
--
Pierre Jelenc | New on Home Office Records: Ethan Lipton
| www.homeofficerecords.com www.ethanlipton.com
The Gigometer | Pepper Of The Earth: the HO blog
www.gigometer.com | www.homeofficerecords.com/blog
e n | c k m a

2004-08-26, 12:28 pm

> I think I'll beg off the project,

Just start from scratch? Re-write the thing, it wouldn't take too long, i'd
imagine.


Beauregard T. Shagnasty

2004-08-26, 7:17 pm

Quoth the raven Pierre Jelenc:

> I've been asked to do a favor to a friend and fix the site at
> http://www.cwrpartners.com/


Yikes. 267KB for one page!

> I'm totally baffled by the amount of rubbish in the header section; is
> that the kind of coding that Microsoft Publisher does in real life? I've
> always written my code by hand with a text editor, so I have no idea
> what's going on there.


Feel free to snag this sample, which took me about 10 minutes of copy
and paste of your page's text.

http://home.rochester.rr.com/bshagnasty/cwr.html

Approximately 5KB for page and style sheet.

> (Not surprisingly, it is not valid HTML or CSS!)


Not surprisingly, my sample is. <g> Play with the styles to taste.

--
-bts
-This space intentionally left blank.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews