Gossamer Forum
Home : General : Internet Technologies :

Bloated Code Fun

Quote Reply
Bloated Code Fun
The new addition of Microsoft FrontPage (2002) must produce the most bloated code I have ever seen in a page editor. The promise of cleaner code from MS in each next addition is a joke. Check out the following snippet of a simple 1 cell table. This is produced from the program out-of-the-box:

FRONTPAGE:
Code:
<table border="0" style="border-collapse: collapse" bordercolor="#111111"
width="100%" id="AutoNumber1">
<tr>
<td width="100%"><span lang="EN-GB">TEST TABLE</span></td>
</tr>
</table>

...and for comparison how it 'should' be:

Code:
<table border="0" width="100%">
<tr>
<td width="100%">TEST TABLE></td>
</tr>
</table>

Nice! Crazy

~ ERASER


Free JavaScripts @ Insight Eye

Last edited by:

Eraser: Apr 14, 2002, 6:10 AM
Quote Reply
Re: [Eraser] Bloated Code Fun In reply to
Thats why you should put FP in the recycle bin :)

Last edited by:

Paul: Apr 14, 2002, 6:09 AM
Quote Reply
Re: [Eraser] Bloated Code Fun In reply to
office for mac is great !!!

I exported excel to a webpage wasn't that bad!

I was pretty impressed. LOL, I hate M$ but ... what they've done for us mac users would make most pc folks cry Laugh

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [Eraser] Bloated Code Fun In reply to
Eraser,

Hm. I don't really see anything wrong wtih that code to be honest. It's preety good. Your slimmed down version will produce variying results in differenet browsers (especially older ones) where the FP output is much stricter on the way the browser should diaplay things. Not a bad thing, IMO.

- wil
Quote Reply
Re: [Wil] Bloated Code Fun In reply to
Wil,

are you kidding? Shocked

Take for instance the bordercolor tag. It's only recognized by IE. FP code is crap.
Quote Reply
Re: [Tho:mas] Bloated Code Fun In reply to
AutoNumber and span-lang tags are totally superfluous - He must be kidding us Laugh

~ ERASER


Free JavaScripts @ Insight Eye
Quote Reply
Re: [Eraser] Bloated Code Fun In reply to
I dunno. I honeslty think the ID provides potential, if you want to layer things. The language is a bit of an overkill, maybe - but then again maybe it's good practice?

- wil
Quote Reply
Re: [Wil] Bloated Code Fun In reply to
Not if Frontpage prints it in every text block, when it should be globally the same.

--Philip
Links 2.0 moderator