|
Posted by Stewart Gordon on 01/13/06 16:37
GreyWyvern wrote:
> And lo, Stewart Gordon didst speak in
> alt.html,alt.www.webmaster,comp.infosystems.www.authoring.html:
<snip>
>> http://webtips.dan.info/wysiwyg.html
>
> I took a little time to read that article and it is a *terrible* example
> to foist on newbies who want to abandon WYSIWYG obsfucation.
Actually, it's aimed at people who want to be responsible WYSIWYDG
editor owners. Though it is also of use to people who want to throw
them away.
> It was written in 1997, and is now horribly out of date.
Maybe one or two bits of that page are a little out of date, but I don't
see how the page as a whole is.
> It actually recommends replacing this bit of WYSIWYG code:
>
> <CENTER><DIV ALIGN=CENTER><P ALIGN=CENTER><FONT
> FACE="Arial,Helvetica"><FONT SIZE="+1"><FONT
> COLOR="red"><B> </B></FONT></FONT></FONT></P></DIV></CENTER>
>
> ... with this "huge" improvement:
>
> <P ALIGN=CENTER><FONT FACE="Arial,Helvetica" SIZE="+1"
> COLOR="red"><B> </B></FONT></P>
>
> For heaven sakes, you shouldn't be inserting empty <p> tags for blank
> space in the *first place*! The proper "replacement" would be to remove
> the code altogether and apply a greater CSS margin to the sibling elements.
Yes, but the point of that piece was to illustrate the absent-mindedness
of these editors. It perhaps isn't surprising that some naive editors
will assume you really did want a paragraph containing a single hard
space, but the bloatedness of what some programs do produce is silly.
>> Hand-coding is the way to go.
>
> It certainly is, but don't follow any advice from that article, except
> the part where it says to stop using the WYSIWYG editor. :)
So you think that, when somebody decides to switch to hand-coding,
he/she/it should just leave in all the mess that the old editor put there?
Stewart.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS-
PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------
My e-mail is valid but not my primary mailbox. Please keep replies on
the 'group where everyone may benefit.
Navigation:
[Reply to this message]
|