White Space

Discussion in 'HTML' started by mcp6453, Apr 4, 2004.

  1. mcp6453

    mcp6453 Guest

    What is the most efficient way to add white space to the bottom of an
    HTML page without using Style Sheets or without 50 <br> tags? I want to
    locate a counter two or three screens below the last line in the page.
    Unfortunately, I don't know how to make the counter invisible.
    mcp6453, Apr 4, 2004
    #1
    1. Advertising

  2. mcp6453 wrote:
    > What is the most efficient way to add white space to the bottom of an
    > HTML page without using Style Sheets or without 50 <br> tags? I want
    > to locate a counter two or three screens below the last line in the
    > page. Unfortunately, I don't know how to make the counter invisible.


    Too late, April Fools Day was a few days ago!
    --
    Andrew Urquhart
    - Reply: www.andrewu.co.uk/contact/
    Andrew Urquhart, Apr 4, 2004
    #2
    1. Advertising

  3. mcp6453

    mcp6453 Guest

    Andrew Urquhart wrote:
    >
    > mcp6453 wrote:
    > > What is the most efficient way to add white space to the bottom of an
    > > HTML page without using Style Sheets or without 50 <br> tags? I want
    > > to locate a counter two or three screens below the last line in the
    > > page. Unfortunately, I don't know how to make the counter invisible.

    >
    > Too late, April Fools Day was a few days ago!


    I guess I miss the joke. Any suggestions?
    mcp6453, Apr 4, 2004
    #3
  4. mcp6453

    mscir Guest

    mcp6453 wrote:
    > Andrew Urquhart wrote:
    >
    >>mcp6453 wrote:
    >>
    >>>What is the most efficient way to add white space to the bottom of an
    >>>HTML page without using Style Sheets or without 50 <br> tags? I want
    >>>to locate a counter two or three screens below the last line in the
    >>>page. Unfortunately, I don't know how to make the counter invisible.

    >>
    >>Too late, April Fools Day was a few days ago!


    > I guess I miss the joke. Any suggestions?


    What hit counter do you want to use?

    Google has lots of hits for 'invisible hit counter'.

    http://www.statcounter.com/
    http://darkcounter.com/
    http://www.t-counters.com/
    http://www.freewebcounter.com
    mscir, Apr 4, 2004
    #4
  5. mcp6453 wrote:

    > What is the most efficient way to add white space to the bottom of an
    > HTML page without using Style Sheets or without 50 <br> tags? I want to
    > locate a counter two or three screens below the last line in the page.
    > Unfortunately, I don't know how to make the counter invisible.


    There are invisible counters out there.

    The most efficient way would be through a GIF file.

    50 <br /> tags takes up 400 bytes of data.

    This GIF file, 1000 pixels long, 1 pixel wide, white, is 63 bytes in size.
    www.dancingborg.co.uk/white.gif


    Even allowing for:

    <div align="right">
    <img src="images/white.gif" />
    </div>

    That's 59 bytes of data. In total that's 122 bytes of data. That's 327%
    more efficient than doing 50 <br />s.
    Weyoun the gowd damn Dominion Vorta who certainly , Apr 4, 2004
    #5
  6. On Sat, 03 Apr 2004 19:39:11 -0500, mcp6453 wrote:

    > I guess I miss the joke. Any suggestions?


    Yes.

    >> mcp6453 wrote:
    >> > What is the most efficient way to add white space to the bottom of an
    >> > HTML page without using Style Sheets or without 50 <br> tags?


    "I want to do something but I refuse to use the tool designed specifically
    for this task" (CSS)

    >> > I want to locate a counter two or three screens below the last line
    >> > in the page. Unfortunately, I don't know how to make the counter
    >> > invisible.


    "I want to do something but I refuse to use the tool designed specifically
    for this task" (read the webserver log files, or use a tool like analog to
    read them for you)

    --
    Some say the Wired doesn't have political borders like the real world,
    but there are far too many nonsense-spouting anarchists or idiots who
    think that pranks are a revolution.
    Owen Jacobson, Apr 4, 2004
    #6
  7. mcp6453

    Rob McAninch Guest

    mscir <news:>:

    > mcp6453 wrote:

    [snip]
    >>>mcp6453 wrote:
    >>>
    >>>>What is the most efficient way to add white space to the
    >>>>bottom of an HTML page without using Style Sheets or without
    >>>>50 <br> tags?


    I have yet to see a valid reason for doing such a thing. It is
    akin to adding 6 inches to the bottom of a printed book page -
    except in a printed book, that space might be used for notes.

    >>>>I want to locate a counter two or three screens below the
    >>>>last line in the page. Unfortunately, I don't know how to
    >>>>make the counter invisible.


    There's no point to this. A typical user will see that the page
    scrolls 'beyond the content' and go to see what is there.

    > Google has lots of hits for 'invisible hit counter'.


    Yep, many can be made invisible or you can cheat and make the
    tracking image very small. Or you can get some paid hosting with
    server logs to analyze and forget the hit counter.

    --
    Rob - http://rock13.com/
    Web Stuff: http://rock13.com/webhelp/
    Rob McAninch, Apr 4, 2004
    #7
  8. mcp6453

    mcp6453 Guest

    Weyoun the gowd damn Dominion Vorta who certainly didn't dance wrote:
    >
    > mcp6453 wrote:
    >
    > > What is the most efficient way to add white space to the bottom of an
    > > HTML page without using Style Sheets or without 50 <br> tags? I want to
    > > locate a counter two or three screens below the last line in the page.
    > > Unfortunately, I don't know how to make the counter invisible.

    >
    > There are invisible counters out there.
    >
    > The most efficient way would be through a GIF file.
    >
    > 50 <br /> tags takes up 400 bytes of data.
    >
    > This GIF file, 1000 pixels long, 1 pixel wide, white, is 63 bytes in size.
    > www.dancingborg.co.uk/white.gif
    >
    > Even allowing for:
    >
    > <div align="right">
    > <img src="images/white.gif" />
    > </div>
    >
    > That's 59 bytes of data. In total that's 122 bytes of data. That's 327%
    > more efficient than doing 50 <br />s.



    Finally, a reasonable answer. Thanks.
    mcp6453, Apr 4, 2004
    #8
  9. mcp6453

    DT Guest

    , Once upon a time in a land far away mcp6453 was alleged to have said:
    > Weyoun the gowd damn Dominion Vorta who certainly didn't dance wrote:
    >
    >>mcp6453 wrote:
    >>
    >>
    >>>What is the most efficient way to add white space to the bottom of an
    >>>HTML page without using Style Sheets or without 50 <br> tags? I want to
    >>>locate a counter two or three screens below the last line in the page.
    >>>Unfortunately, I don't know how to make the counter invisible.

    >>
    >>There are invisible counters out there.
    >>
    >>The most efficient way would be through a GIF file.
    >>
    >>50 <br /> tags takes up 400 bytes of data.
    >>
    >>This GIF file, 1000 pixels long, 1 pixel wide, white, is 63 bytes in size.
    >>www.dancingborg.co.uk/white.gif
    >>
    >>Even allowing for:
    >>
    >><div align="right">
    >><img src="images/white.gif" />
    >></div>
    >>
    >>That's 59 bytes of data. In total that's 122 bytes of data. That's 327%
    >>more efficient than doing 50 <br />s.

    >
    >
    >
    > Finally, a reasonable answer. Thanks.


    Of course, a 1x1 pixel gif displayed at a height of 1000 would be even
    smaller......



    --
    RUDE BABIES & LITTLE PUSSY SPORTSWEAR

    Funny shirts for babies & their moms
    http://www.cafeshops.com/rudebabies
    DT, Apr 4, 2004
    #9
  10. Weyoun the gowd damn Dominion Vorta who certainly didn't dance wrote:

    > 50 <br /> tags takes up 400 bytes of data.


    50 <br> tags (assuming HTML rather than XHTML) takes 200 bytes -- not 400.

    See the directory listing here:

    http://www.goddamn.co.uk/tobyink/scratch/

    Look at the file "50br.html". This is 201 bytes in size (the extra 1 byte
    is for the line break at the end).

    > This GIF file, 1000 pixels long, 1 pixel wide, white, is 63 bytes in size.
    > www.dancingborg.co.uk/white.gif
    >
    > Even allowing for:
    >
    > <div align="right">
    > <img src="images/white.gif" />
    > </div>
    >
    > That's 59 bytes of data. In total that's 122 bytes of data. That's 327%
    > more efficient than doing 50 <br />s.


    Total crap. You're completely ignoring the extra HTTP request for an
    external image file, which would add on about an extra quarter of a KB,
    making the line breaks far more efficient.

    Of course, even more efficient would be this:

    <p style="height:99em">&nbsp;</p>

    Which is 33 bytes. However, the OP seems to have some kind of CSS allergy.

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me - http://www.goddamn.co.uk/tobyink/?page=132
    Toby A Inkster, Apr 4, 2004
    #10
  11. mcp6453

    brucie Guest

    in post: <news:p>
    Toby A Inkster <> said:

    >> 50 <br /> tags takes up 400 bytes of data.


    > 50 <br> tags (assuming HTML rather than XHTML) takes 200 bytes -- not 400.


    or 35 bytes using http compression

    --
    b r u c i e
    brucie, Apr 4, 2004
    #11
  12. mcp6453

    brucie Guest

    in post: <news:c4ojg5$2kc87b$-berlin.de>
    brucie <> said:

    >> 50 <br> tags (assuming HTML rather than XHTML) takes 200 bytes -- not 400.


    > or 35 bytes using http compression


    or 32 bytes using http compression and shorttags

    --
    b r u c i e
    brucie, Apr 4, 2004
    #12
  13. DT wrote:

    > Of course, a 1x1 pixel gif displayed at a height of 1000 would be even
    > smaller......


    "Oh Dear," says God "I hadn't thought of that; and prompty vanishes in a
    puff of logic.
    Weyoun the gowd damn Dominion Vorta who certainly , Apr 4, 2004
    #13
  14. Toby A Inkster wrote:

    > Weyoun the gowd damn Dominion Vorta who certainly didn't dance wrote:
    >
    >
    >>50 <br /> tags takes up 400 bytes of data.

    >
    >
    > 50 <br> tags (assuming HTML rather than XHTML) takes 200 bytes -- not 400.
    >
    > See the directory listing here:
    >
    > http://www.goddamn.co.uk/tobyink/scratch/
    >
    > Look at the file "50br.html". This is 201 bytes in size (the extra 1 byte
    > is for the line break at the end).


    I said 50 "<br />" tags not 50 "<br>" tags. I believe tags that don't
    have a closing tag: br, hr, img etc, are supposed to now close themselves.


    >
    >
    >>This GIF file, 1000 pixels long, 1 pixel wide, white, is 63 bytes in size.
    >>www.dancingborg.co.uk/white.gif
    >>
    >>Even allowing for:
    >>
    >><div align="right">
    >><img src="images/white.gif" />
    >></div>
    >>
    >>That's 59 bytes of data. In total that's 122 bytes of data. That's 327%
    >>more efficient than doing 50 <br />s.

    >
    >
    > Total crap. You're completely ignoring the extra HTTP request for an
    > external image file, which would add on about an extra quarter of a KB,
    > making the line breaks far more efficient.


    thanks. youc ould jsut say "you're wrong" instead of saying "total crap"
    but thank you none the less.


    >
    > Of course, even more efficient would be this:
    >
    > <p style="height:99em">&nbsp;</p>
    >
    > Which is 33 bytes. However, the OP seems to have some kind of CSS allergy.
    >
    Weyoun the gowd damn Dominion Vorta who certainly , Apr 4, 2004
    #14
  15. Weyoun the gowd damn Dominion Vorta who certainly didn't dance wrote:

    > I believe tags that don't
    > have a closing tag: br, hr, img etc, are supposed to now close themselves.


    In XHTML (and in XML generally) yes, but not in HTML.

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me - http://www.goddamn.co.uk/tobyink/?page=132
    Toby A Inkster, Apr 4, 2004
    #15
  16. mcp6453

    brucie Guest

    in post: <news:7iUbc.10$>
    Weyoun the gowd damn Dominion Vorta who certainly didn't dance
    <> said:

    > I said 50 "<br />" tags not 50 "<br>" tags.


    37 bytes using http compression

    --
    b r u c i e
    brucie, Apr 5, 2004
    #16
  17. mcp6453

    mcp6453 Guest

    DT wrote:
    >
    > Of course, a 1x1 pixel gif displayed at a height of 1000 would be even
    > smaller......



    Where can I steal such a file, since I don't know how to make one?
    mcp6453, Apr 11, 2004
    #17
  18. mcp6453

    Neal Guest

    On Sun, 11 Apr 2004 10:57:12 -0400, mcp6453 <> wrote:

    > DT wrote:
    >>
    >> Of course, a 1x1 pixel gif displayed at a height of 1000 would be even
    >> smaller......

    >
    >
    > Where can I steal such a file, since I don't know how to make one?



    Do you have Microsoft Paint or something else like it? You can make a 1x1
    GIF rather easily if you do.
    Neal, Apr 11, 2004
    #18
  19. mcp6453 <> wrote:

    > DT wrote:
    >>
    >> Of course, a 1x1 pixel gif displayed at a height of 1000 would be
    >> even smaller......

    >
    >
    > Where can I steal such a file, since I don't know how to make one?


    Google search:
    <http://images.google.com/images?q=1x1 filetype:gif&hl=en&lr=&ie=UTF-8
    &oe=UTF-8&c2coff=1&safe=off&sa=N&imgsz=icon>

    --
    David Håsäther
    David Håsäther, Apr 11, 2004
    #19
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shuo Xiang

    Stack space, global space, heap space

    Shuo Xiang, Jul 9, 2003, in forum: C Programming
    Replies:
    10
    Views:
    2,863
    Bryan Bullard
    Jul 11, 2003
  2. Christian Seberino
    Replies:
    21
    Views:
    1,621
    Stephen Horne
    Oct 27, 2003
  3. Ian Bicking
    Replies:
    2
    Views:
    978
    Steve Lamb
    Oct 23, 2003
  4. Ian Bicking
    Replies:
    2
    Views:
    705
    Michael Hudson
    Oct 24, 2003
  5. Ben C
    Replies:
    6
    Views:
    2,131
    Leif K-Brooks
    Jan 28, 2007
Loading...

Share This Page