Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / September 2006



Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Santos L Halper - 29 Sep 2006 21:31 GMT
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)
Brendan Gillatt - 30 Sep 2006 12:09 GMT
> I want to duplicate this with <div> tags.

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|
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.