Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Re: Just plain dumb

by rendler (Pilgrim)
on Jan 09, 2002 at 14:01 UTC ( #137417=note: print w/replies, xml ) Need Help??

in reply to Re: Just plain dumb
in thread Loop counter only works for 2

As for the TD tags they're set to 100% because of the fact that you can specify how many blocks there are in a row I want them to all have the same size. Which means that if there's 2 blocks in the row at 100% the blocks each take 50% of the page. Works a treat in opera but netscape 4.78 doesn't seem to like it very much, I have an example of what I'm trying to do at

Replies are listed 'Best First'.
Re^3: Just plain dumb
by Aristotle (Chancellor) on Jan 09, 2002 at 22:43 UTC
    Set the <table> to your desired width, and the browser will spread the available space evenly if not told otherwise.
      Actually it won't it'll only use up to the space that the block in the TD is filled up to and no more.
        Hmm yes - depends on the browser too.. IE will usually DWYM (which is not always good, as it sometimes fails, and often promotes laziness), while NN is very stubborn about doing exactly what you said (mostly making things too large), whereas Opera is very stubborn about doing what it wants (and ends up making things too small). What may work is if you have a single row at the top, with a single cell, set to 100%, containg a single-pixel transparent GIF. The other solution may be to try doing what you want using CSS (which is often a godsend).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://137417]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2018-02-23 03:41 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (300 votes). Check out past polls.