By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.

how to make <dis>'s behave like <td>'s?

P: n/a
this will be hard to explain.
picture a <tablewith 3 columns. if you type text into the center column
and hit enter a bunch of times, all 3 columns expand vertically to fit the
content you put in the middle column.

I want to duplicate this with <divtags.

if I have 3 <div>'s floating next to each other so that they line up, and I
type and hit enter in the middle div, it grows vertically while the other 2
stay put. is there any way to make it so that they all "grow" together?
(without a bunch of messy javascript)

Sep 29 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Santos L Halper wrote:
I want to duplicate this with <divtags.
I haven't tried this but see if div.someclass {display: table-cell;} works.

--
| Brendan Gillatt |
| brendan {at} brendan \removethis// gillatt {dot} co {dot} uk |
| http://www.brendangillatt.co.uk |
| PGP Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0x6E265E61|
Sep 30 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.