#5 Using CSS to stop HTML bloat

open
nobody
None
5
2012-03-29
2005-11-23
Shish
No

Trying to add a custom header file and wanting to use a
section divider in it; I noticed you have 12 lines to
create two tables, rather than just using

and

. Reading more, I noted a load of similar bloats.

Attached are example patches to HTMLGenerator.pm and
default.css to make section divider code smaller.

I intend to go through all the code and my own
stylesheet for my own site, but I'd be willing to keep
all the stylesheets updated and send patches if you're
interested. If you are, where should I be sending the
patches to?

Discussion

  • Shish
    Shish
    2005-11-23

    HTML tidyness example

     
    Attachments
  • Christoph Berg
    Christoph Berg
    2005-11-24

    Logged In: YES
    user_id=304233

    Hi,

    thanks for the patch. If you have more, attach them to this
    tracker item, or mail them to
    pisg-general@lists.sourceforge.net.

    (I'm busy at the moment, it might take some time until I (or
    someone else) get around to look at the patches.)

    Christoph

     
  • Shish
    Shish
    2005-11-26

    Logged In: YES
    user_id=683870

    About 75% of HTMLGenerator is done, and only the default
    stylesheet has been updated -- uploaded so you can double
    check and make sure I haven't broken anything / done
    anything in a way that you'd object to :)

     
  • Shish
    Shish
    2005-11-26

    Second set of tidying up patches

     
    Attachments
  • HM2K
    HM2K
    2012-01-19

    There's lots of good changes here but unfortunately there's too many changes for things to go smoothly right now.