|
Posted by GreyWyvern on 01/13/06 16:56
And lo, Stewart Gordon didst speak in
alt.html,alt.www.webmaster,comp.infosystems.www.authoring.html:
> GreyWyvern wrote:
>
>> 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.
*My* point is that the article *recommends* using the second given code
snippet above as a replacement for the WYSIWYG code. *Both* examples are
horribly bloated.
>>> 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?
No. I think that if someone is going to switch from WYSIWYG to
hand-coding, they shouldn't start with WYSIWYG code and prune down from
there. Rather they should start with a blank text editor (and perhaps an
HTML/CSS reference guide or two) and work their way up.
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- http://www.greywyvern.com/orca#sear - Orca Search: Full-featured spider
and site-search engine
[Back to original message]
|