Previous Message
Next Message

Logical expressions

Sent by Kenoli Oleari on 5 November 2005 18:06


I think the answer to this is "No" but is there any way to set any  
relative measures in CSS like telling a div to set its bottom edge or  
height to the value of another element like another div who's bottom  
edge adjusts to the amount of content.

For instance, suppose I was creating content to go into a div by  
retrieving it from a database using some server side code like php.   
This would cause the div to expand to accommodate the data.  Then  
suppose I had another div next to it that I wanted to have the same  
height.  I can't tell it how high I want it to be because this will  
be variable depending on the size of the first div.  I'd like to say  
"set the height the same as the first div" or "make the bottom of  
this div the same as the first div."

I find myself quite often wanting to make logical statements like  
this and not being able to figure out a work-around.

--Kenoli

Kenoli Oleari
Neighborhood Assemblies Network
[EMAIL-REMOVED]
510-601-8217
http://www.horizonsofchange.com
http://www.sfnan.org


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: