Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.sinclair > #4122

Re: The joy of DLAN (modern web devs please read)

From Guesser <alistair@zxnet.co.uk>
Newsgroups comp.sys.sinclair
Subject Re: The joy of DLAN (modern web devs please read)
Date 2016-03-07 10:25 +0000
Organization A noiseless patient Spider
Message-ID <nbjko7$140$1@dont-email.me> (permalink)
References (2 earlier) <cb2d4882-36cb-4efe-bfc5-8257d6a3cd1a@googlegroups.com> <nas7um$19ph$1@gioia.aioe.org> <abb78c92-4cfd-493f-89c5-6529399f91ee@googlegroups.com> <nb6rhv$c86$1@gioia.aioe.org> <9b04ae07-e3f7-48b3-b2f3-a978748ca4f0@googlegroups.com>

Show all headers | View raw


On 07/03/2016 06:55, bit-naughty@hotmail.com wrote:
> I don't see how - the *simplest* thing any designer can do is to give everything on the page an id and then do whatever in CSS or JS with it - "I want this thing to look like this, and that one to look like that", that's how any designer thinks! No human being thinks in terms of "Oh this thing is _similar looking_ to that thing, so I'll put them both in the same class....." ?
>
>
> ..... and for a dynamically generated page, I think that would be _mandatory_ , to prevent everyone working on the page, front end and back, from going MAD.....
>

If you want all your page headings to be in red and in your corporate 
font, and all the subheadings to be in grey etc then giving them all the 
same class and setting that once for the whole site in a main stylesheet 
is the only sane way.

On the other hand if you have things that are only used once with a 
style so customised to that particular element that it is of no use 
anywhere else then it probably makes more sense to refer to it by id. 
Though a class with only that element in it would work just as well.


If you really want an extreme example of the benefits of a properly 
conceived stylesheet then just find any webpage created in Microsoft 
frontpage. A large page of tables etc can easily run to megabytes of 
source when every single element has inlined style tags defining the 
font, size, colour, etc!

Back to comp.sys.sinclair | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-02-21 09:33 -0800
  Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-21 20:57 +0000
    Re: The joy of DLAN (modern web devs please read) "Brian Gaff" <briang1@blueyonder.co.uk> - 2016-02-22 11:04 +0000
      Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-22 12:00 +0000
    Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-02-26 07:38 -0800
      Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-27 13:22 +0000
        Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-02 02:19 -0800
          Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-02 13:58 +0000
            Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-06 22:55 -0800
              Re: The joy of DLAN (modern web devs please read) Guesser <alistair@zxnet.co.uk> - 2016-03-07 10:25 +0000
                Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-07 07:03 -0800
                Re: The joy of DLAN (modern web devs please read) Guesser <alistair@zxnet.co.uk> - 2016-03-07 15:33 +0000
                Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-07 17:37 +0000
              Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-07 18:41 +0000
                Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-03-13 08:55 -0700
                Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-03-13 16:44 +0000
  Re: The joy of DLAN (modern web devs please read) "Brian Gaff" <briang1@blueyonder.co.uk> - 2016-02-22 11:01 +0000
    Re: The joy of DLAN (modern web devs please read) bit-naughty@hotmail.com - 2016-02-26 08:34 -0800
      Re: The joy of DLAN (modern web devs please read) "Brian Gaff" <briang1@blueyonder.co.uk> - 2016-02-28 11:04 +0000
        Re: The joy of DLAN (modern web devs please read) Calum <com.gmail@nospam.scottishwildcat> - 2016-02-28 11:34 +0000

csiph-web