make a div take up space

D

Doug

I have a table with equal size cells, then i have div tags in each cell.

The div tags have a border and a background, basically to make the
contents look a little better. The problem is each div is a different
size. It would be great if i could make the div take up all of the
space in each cell. Is there a way to do that? I've tried using the
height property in CSS, but that doesn't make the divs any taller.

-d
 
E

Els

Doug said:
I have a table with equal size cells, then i have div tags
in each cell.

The div tags have a border and a background, basically to
make the contents look a little better. The problem is
each div is a different size. It would be great if i could
make the div take up all of the space in each cell. Is
there a way to do that? I've tried using the height
property in CSS, but that doesn't make the divs any taller.

If you want the divs to use up all the space in the cell...
why don't you just style the cell istead?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top