1. Subscribersonhouse
    Fast and Curious
    slatington, pa, usa
    Joined
    28 Dec '04
    Moves
    53223
    23 Mar '10 23:181 edit
    When I look at the source code, the books I study have the lines laid out more or less vertically. At RHP, there are two very long horizontal lines. Why is that? I see that a lot on other sites, it makes it hard to read for a newbie web dude. Is that the reason, to make it hard to read? Thanks. Don.
  2. SubscriberMctayto
    Highlander
    Planet Earth
    Joined
    10 Dec '04
    Moves
    1037825
    24 Mar '10 01:19
    Originally posted by sonhouse
    When I look at the source code, the books I study have the lines laid out more or less vertically. At RHP, there are two very long horizontal lines. Why is that? I see that a lot on other sites, it makes it hard to read for a newbie web dude. Is that the reason, to make it hard to read? Thanks. Don.
    Read it a few times and don't see a site idea in your post
  3. Standard memberDaemon Sin
    I'm A Mighty Pirateā„¢
    PaTROLLING the forum
    Joined
    01 Dec '04
    Moves
    36332
    24 Mar '10 08:14
    Originally posted by sonhouse
    When I look at the source code, the books I study have the lines laid out more or less vertically. At RHP, there are two very long horizontal lines. Why is that? I see that a lot on other sites, it makes it hard to read for a newbie web dude. Is that the reason, to make it hard to read? Thanks. Don.
    It's quite common for sites that get a lot of traffic. Every line break or space in the code takes up a few bytes of data so if you remove them all it reduces the size of webpage, which in turn means that it reduces the amount of bandwidth used.

    http://en.wikipedia.org/wiki/Minification_(programming)
  4. Subscribersonhouse
    Fast and Curious
    slatington, pa, usa
    Joined
    28 Dec '04
    Moves
    53223
    24 Mar '10 20:17
    Originally posted by Daemon Sin
    It's quite common for sites that get a lot of traffic. Every line break or space in the code takes up a few bytes of data so if you remove them all it reduces the size of webpage, which in turn means that it reduces the amount of bandwidth used.

    http://en.wikipedia.org/wiki/Minification_(programming)
    Thanks for the link, wiki must be down for now, couldn't bring it up, but googling minification brought this up:

    http://developer.yahoo.com/performance/rules.html#no_filters

    I was surprised Yahoo actually had something useful to say, their chess site sucks bigtimešŸ™‚
Back to Top

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.I Agree