Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Just plain dumb

by Aristotle (Chancellor)
on Jan 09, 2002 at 22:43 UTC ( #137515=note: print w/replies, xml ) Need Help??

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

Set the <table> to your desired width, and the browser will spread the available space evenly if not told otherwise.

Replies are listed 'Best First'.
Re: Re: Re: Re: Just plain dumb
by rendler (Pilgrim) on Jan 10, 2002 at 08:02 UTC
    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).
        Yes most definately depends on the browsers, even when the HTML is 'correct/valid' and is more complex than just a couple of rows in a table the results that show up in the browsers can be as differnt as if you were feeding /dev/urandom to it rather than just normal HTML. The way I currently have it seems to work quite well with opera, IE and even links, but looks so very, very bad in netscape 4.X. I think I'll experiment with your idea though, doesn't hurt to try and have it working with most browsers under the sun.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-04-22 22:46 GMT
Find Nodes?
    Voting Booth?