HighDots Forums  

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

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss how to make <dis>'s behave like <td>'s? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Santos L Halper
 
Posts: n/a

Default how to make <dis>'s behave like <td>'s? - 09-29-2006 , 04:31 PM






this will be hard to explain.
picture a <table> with 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 <div> tags.

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)




Reply With Quote
  #2  
Old   
Brendan Gillatt
 
Posts: n/a

Default Re: how to make <dis>'s behave like <td>'s? - 09-30-2006 , 07:09 AM






Santos L Halper wrote:
Quote:
I want to duplicate this with <div> tags.
I haven't tried this but see if div.someclass {display: table-cell;} works.

--
Quote:
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|

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.