1) Can I put two DIV tags side-by-side (2 columns)
without setting one of them to an absolute position? (I
know I can put one div inside the other and float it --
but I would rather not).
2) Can I set a DIV tag to fill in vertically to the
bottom of the window? With the table I could set the row
height to 100% which would fill in to the bottom, but
when I set the DIV tag to 100% it extends beyond the
bottom of the window. I think it is taking the total
height of the window and adding it to the top value.
Thoughtful insight!
I am aware of how the default properties work. Was
wondering if there was something I was missing. Otherwise
I would not be asking the question.
I was hoping to use the two div tags side-by-side
(without using absolute positioning) since that provides
a cleaner look to my html code.
As far as the 100% goes. It only works if the div tag is
the next thing after the body tag. As in
<body>
<div style="height:100%;">
Hello
</div>
</body>
But consider this.
<body>
<p>A header paragraph</p>
<div style="height:100%;">
Hello
</div>
</body>
That causes scrollbars to appear. I would like to avoid
that since the content obviously fits inside the window
with room to spare.
If I have a table set to 100% width and it has two
columns with one column having a set width and the 2nd
column not being set -- the 2nd column will fill the
remaining width of the table.
I am looking for something similiar except I would like
to fill to bottom of the screen. (Guess I COULD use
javascript and calculate it...yuck)
>-----Original Message-----
>.
>
"Jason" <jca...@covad.net> schreef in bericht
news:093f01c2d7cf$90a66020$3001...@phx.gbl...
> <body>
>
> <p>A header paragraph</p>
>
> <div style="height:100%;">
> Hello
> </div>
>
> </body>
>
Probably reading this totally wrong and look forward to the traditional
flaming arrows of righteousness :))
(Jesting folks !!)
Arnie