Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.independent

Topic: HTML and CSS are just a bunch of CRIPPLE WARE !!!
Replies: 15   Last Post: Apr 25, 2013 11:25 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Graham Cooper

Posts: 4,280
Registered: 5/20/10
Re: HTML and CSS are just a bunch of CRIPPLE WARE !!!
Posted: Apr 23, 2013 8:00 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Apr 23, 5:39 pm, "Chris F.A. Johnson" <cfajohn...@gmail.com> wrote:
> On 2013-04-23, Graham Cooper wrote:
> > **************************************************
>
> > Here is MODERN CSS style code for the FACEBOOK.com home page
>
> > (about the same level of formatting complexity)
>
>    There's no question that there's a vast amount of crappy code on
>    the web, but that's not a reflection on modern HTML/CSS.
>
>    That works for some cases; it rapidly gets unwieldy on more complex
>    layout. After you learn to use CSS, you'll find that it makes
>    layout MUCH easier than tables.
>
> --
>    Chris F.A. Johnson                          <http://cfajohnson.com>
>    Author:                                     =======================
>    Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
>    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)



CSS does have some advantages for Script distribution where you can
change layout without touching the code, and you could still define
STYLES in one definition instead of repeating throughout the HTML.

But you'd need a days work and pages of 100s of lines of code to
layout this demo ASCII page in CSS.

DEMO WEBPAGE

LLL------------
LLL------------
***************
[_][_][_][_][_]
***************
MM---|####--|--
MM---|####--|--
MM---|------|--
MM---|####--|--
MM---|####--|--
MM---|------|--
***************
***************


<rows>
<r>
<cols>
<c>
LL
LL
</c>
<c>
-------------
-------------
</c>
</cols>
</r>
<r>
*************
</r>
<r>
<cols>
<c>
[_]
</c>
<c>
[_]
</c>
<c>
[_]
</c>
<c>
[_]
</c>
<c>
[_]
</c>
</cols>
</r>
<r>
*************
</r>

<r> //BODY
<cols>
<c>
<rows>
<r>MM</r>
<r>MM</r>
<r>MM</r>
<r>MM</r>
<r>MM</r>
<r>MM</r>
</rows>
</c>
<c>
<rows>
<r>----</r>
<r>----</r>
<r>----</r>
<r>----</r>
<r>----</r>
<r>----</r>
</rows>
</c>
<c>
|
|
|
|
|
|
</c>
<c>
<rows>
<r>
<rows>
<r>
<cols>
<c>
####
####
</c>
<c>
--
--
</c>
</cols>
</r>
<r>
------
</r>
</rows>
</r>
<r>
<rows>
<r>
<cols>
<c>
####
####
</c>
<c>
--
--
</c>
</cols>
</r>
<r>
------
</r>
</rows>
</r>
</rows>
</c>
<c>
|
|
|
|
|
|
</c>
<c>
<rows>
<r>--</r>
<r>--</r>
<r>--</r>
<r>--</r>
<r>--</r>
<r>--</r>
</rows>
</c>
<cols>
</r>
<r>
***************
***************
</r>
</rows>


DONE! In 2 commands!

Reduced Instruction Set Hyper-Text Markup Language!

R.I.S.H.T.M.L.


Herc
--
www.BLoCKPROLOG.com




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.